欢迎投稿

今日深度:

hadoop介绍,

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

www.htsjk.Com true http://www.htsjk.com/Hadoop/40089.html NewsArticle 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 D...
相关文章
    暂无相关文章
评论暂时关闭