Hadoop version: Hadoop 2.2.0.2.0.6.0-0009
1.datanode report
cmd>%hadoop_home%/bin/hdfs dfsadmin -report2.datanode balancer
cmd>%hadoop_home%/bin/hdfs balancer -threshold 5 -policy datanode3. Refresh datanodes --- Re-read the hosts and exclude files to update the set of Datanodes that are allowed to connect to the Namenode and those that should be decommissioned or recommissioned.
cmd>%hadoop_home%/bin/hdfs dfsadmin -refresh<strong>N</strong>
本文介绍了Hadoop 2.2.0版本中数据节点的相关管理操作,包括数据节点报告、数据节点平衡调整、刷新数据节点等命令的使用方法。
1376

被折叠的 条评论
为什么被折叠?



