Problem background and phenomenon
Installation of Nodeagent failed while installing the cluster.
Cause Analysis
1. Controller log, there is an exception prompt.
/var/log/Bigdata/controller/controller.log
2014-12-03 13:43,164 WARN [pool-33-thread-1] 192.168.0.99: Failed Command execution CommandResponse [success=false, completed=true, exitCode=12, stdOut=Installing node agent...
Keytool error: java.lang.Exception: Alias <tomcat> does not exist
ERROR: Failed to start nodeagent Start nodeagent process.
ERROR: Failed to install node agent.
, stdErr=chmod: cannot access `/opt/huawei/Bigdata/nodeagent/setup/web/*': No such file or directory, command=Command [executableScript=su - omm -c "/opt/huawei/Bigdata/nodeagent /setup/installnodeagent.sh {OM_NODEAGENT_NODEID} 192.168.0.99 20025 /var/log/Bigdata {IS_START_AGENT}", capture=EXECUTE_ONLY, script=su - {OMM_USER} -c "{NODEAGENT_HOME}/setup/installnodeagent.sh {OM_NODEAGENT_NODEID} {OM_NODEAGENT_CONTROLLER_IP} {OM_NODEAGENT_CONTROLLER_PORT} {BIGDATA_LOG_HOME} {IS_START_AGENT}", success=null, ifFail=null]] com.huawei.hadoop.om.controller.agent.nodesetup.SshActionChannelHandler.processFail(SshActionChannelHandler.java:515)
2. View the "/etc/hosts" configuration and permissions.
Hostname
Hostname -i
The "/etc/hosts" privilege is 600, causing the omm user to find the hostname -i cannot find the IP.

