If you have error like this:
1 |
ERROR 2015-08-25 13:33:54,601 Controller.py:143 - Cannot register host with not supported os type, hostname=h2.hadoopxyz.abc, serverOsType=ubuntu14, agentOsType=ubuntu14 |
You have to edit :
1 2 |
mc -e /usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json mc -e /usr/lib/ambari-agent/lib/ambari_commons/resources/os_family.json |
And change version number:
1 2 3 4 5 6 7 8 9 |
"ubuntu": { "distro": [ "ubuntu", "debian" ], "versions": [ 14 ] }, |
This saved lot of time and risk.. Thanks for the post