hadoop介绍,
On hadoop0.23.0 release there is no conf/masters file where we used to specify the host address where secondary name node needs to start.The documentation for 0.23 is a bit sparse and I had to dig through the code. In the DFSConfigKeys.java the below variables have been defined. Set the dfs.namenode.secondary.http-address key to ip:port in hdfs-site.xml and start the secondary namenode using the sbin/hadoop-daemon.sh start secondarynamenodecommand. Run jps command to check if the secondary namenode is running and also make sure to check the log file also for any errors.
public static final String DFS_NAMENODE_SECONDARY_HTTP_ADDRESS_KEY = "dfs.namenode.secondary.http-address";
Secondary NN is being called CheckPoint NN. But, the code is still using Secondary NN and people still refer it as Secondary NN.
From the description of the HDFS-2141 Jira which is related to 0.23 release.
Active and Standby are the state of the NameNode. While Backup and CheckPoint are the name/role of the daemons that are started.
refer: http://stackoverflow.com/questions/8501043/regarding-hadoop-secondarynamenode-concept
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。