Ha was built for Namenode, and then secondary Namenode was configured according to the network configuration.
But never seen from the log to start Secondnary Namenode, of course there is no process.
Find a lot of information, according to the information configuration, implementation
HDFs Getconf–secondarynamenodes
Incorrect configuration:secondary Namenode address dfs.namenode.secondary.http-address is not configured.
However, this parameter has been correctly configured in Hdfs-site.xml.
Perform
HDFs Secondarynamenode–format
The following error is reported:
15/08/01 21:25:56 FATAL Namenode. secondarynamenode:failed to start secondary namenode
Java.io.IOException:Cannot use Secondarynamenode on an HA cluster. The Standby Namenode would perform checkpointing.
This error prompted me to realize that in Ha case, do not need to do secondary namenode to do, standby Namendoe has done secondary namenode do.
Another mistake is to keep warning, the local library is not loaded, I have compiled and copied to the native folder, or have been reported this error,
Workaround: Start Export hadoop_root_logger=debug,console
Execute a command like this: HDFs Dfs–ls/
View the log, you can find specific errors, according to the error prompts to modify, usually the path is a problem or the wrong version.
HADOOP cluster some issue for installation