COPYING_ could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
安装后jps没有namenode 进程
解决方法:
1. hadoop安装目录下/sbin/
./stop-all.sh 关闭应用
2、关闭防火墙
chkconfig iptables off
查看hdfs-site.xml确保加入datanode和namenode
<property>
<name>dfs.namenode.name.dir</name>
<value>file:安装目录/data/namenode</value>
</property>
<property>
<name>dfs.datanode.data.dir</name>
<value>file:安装目录/data/datanode</value>
</property>
格式化后重启
hadoop namenode -format
./start-all.sh