Hi Perry, Thanks for sharing this with us. Glad to hear it works for you. Thanks, Kenny ...
Thanks for sharing this with us. Glad to hear it works for you.
These days, I am updating previous Apache Hadoop cluster with HDP 2.0 stack. Using Ambari (188.8.131.52) for cluster installation,provision and management.
All the cluster nodes are built on centos 6.0.
During the ambari server installation, ambari-server recognized the primary/cluster os as redhat6 (see ambari.properties).
During the ambari agent bootstrap/node register, ambari-agent regonized the agent os as centos linux6 (see log).
From log files (ambari-server.log, ambari-agent.log), I found the inconsistence caused the warning of ambari-agent bootstrapping and failure of host registering.
I’m still not sure why this happen, but I guess it’s caused by the differene of os checking methods among ambari server side code, ambari-agent bootstrap script (os_type_check.sh,based on os release file) and registering script (Controller.py/Register.py based on os hardware profile) .
To fix the problem I manually edited the script files:
To avoid warning of agent bootstrapping, in os_type_check.sh, add “current_os=$RH6” above the echo line or add “res=0” after case statement;
To make the host register work, in Controller.py, add “data=data.replace(‘centos linux’,’redhat’)” before sending registering request;
Then retried, it works.
Definitely, this is not a good solution, but I just want to share to see if anyone can run across the issue.
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world