Created 02-21-2016 01:53 AM
I have a cluster that is running on RHEL7. I got an extra host that i would like to add to the cluster, this host is running RHEL6 instead. when I try add it to the cluster via ambari I get the error
"Local OS is not compatible with cluster primary OS family. Please perform manual bootstrap on this host."
I tried installing ambari-agent manually on the RHEL6 machine, edited the ambari-agent.ini file with the right ambari host and restarted the agent.
in ambari-server log I can see this error
"Host xxx.xxx.com re-registered, will not be added to the available hosts list"
Any idea how to pass the OS check on ambari server?
Created 02-25-2016 09:54 AM
/usr/lib/python2.6/site-packages/ambari_server/os_type_check.sh is the script that Ambari uses to check OS version. After disabling this script, I was able to register the RHEl6 machine to the cluster through Ambari. I also installed all the HDP clients to this node (still have some issues with RPMs management) and was able to run HIVE and Hadoop commands.
Note: my cluster is not kerberized yet, probably more interesting issues will come up when i try to enable kerberos 🙂
Special thanks to Hortonworks support for pointing out the script name.
Created 02-21-2016 02:02 AM
Created 02-21-2016 02:33 AM
@Neeraj Sabharwal, Thanks. It looks like no one is able to achieve this setup 😞
Created 02-21-2016 02:37 AM
@Wael Emam Def not recommended
Created 02-21-2016 02:39 AM
@Wael Emam It may be possible to do it. You would have to be very creative. See this
Created 02-21-2016 03:36 AM
@Wael Emam FYI
The following apporach worked fine
Ambari server and data node is on CentoOs 6.7 and added a node running Centos7 ..no issues.
Created 02-25-2016 10:57 AM
@Wael Emam Nice! Not recommended though
Created 02-25-2016 09:54 AM
/usr/lib/python2.6/site-packages/ambari_server/os_type_check.sh is the script that Ambari uses to check OS version. After disabling this script, I was able to register the RHEl6 machine to the cluster through Ambari. I also installed all the HDP clients to this node (still have some issues with RPMs management) and was able to run HIVE and Hadoop commands.
Note: my cluster is not kerberized yet, probably more interesting issues will come up when i try to enable kerberos 🙂
Special thanks to Hortonworks support for pointing out the script name.
Created 05-22-2017 06:09 PM
We have HDP 2.4 on Debian 7. There is no /usr/lib/python2.6/site-packages/ambari_server/os_type_check.sh installed - only os_check_type.py. And all it checks is whether the current node OS matches the cluster, not whether the OS version is supported.
/usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json seems to list the supported OS versions (e.g. RedHat 6/7, Debian 7, Ubuntu 12/14) which matches documentation.
Created 01-16-2018 03:13 PM
I achieved this feat using Ambari version 2.6(Not sure about lower version)
It requires manual intervention in installing ambari-agent
I have documented steps here
http://www.v3bigdata.in/2018/01/hdp-multi-os-type-and-version-support.html