<span style="font-size:24px;">/home/nbu/xu/hadoop/logs/ vi hadoop-nbu-datanode-hadoop211.log </span>
说明namespaceIDs不匹配,需要删除临时文件/tmp 路径在core.site.xml中查看
说明一个集群上安装了多个hadoop,端口被占用,因此修改默认端口:修改hdfs-site.xml
<span style="font-size:24px;"><property> <name>dfs.datanode.address</name> <value>0.0.0.0:50011</value> </property> <property> <name>dfs.datanode.http.address</name> <value>0.0.0.0:50076</value> </property> <property> <name>dfs.datanode.ipc.address</name> <value>0.0.0.0:50021</value> </property> <property> <name>dfs.replication</name> <value>3</value> </property> </span>
原文地址:http://blog.csdn.net/xu5025/article/details/41823701