I am trying to copy some data with distcp and I get the error: "There are 2 datanode(s) running and 2 node(s) are excluded in this operation." I did not excluded any node, I have lots of space and the hdfs is not in safemode.
the command that I use is /home/ubuntu/Programs/hadoop/bin/hadoop distcp hdfs://host1:9000/wiki hdfs://host2:9000/wiki Here are the hdfs-site.xml of host1 and host2 <configuration> <property> <name>dfs.replication</name> <value>2</value> </property> <property> <name>dfs.permissions</name> <value>false</value> </property> <property> <name>dfs.name.dir</name> <value>/tmp/data/dfs/name/</value> </property> <property> <name>dfs.data.dir</name> <value>/tmp/data/dfs/data/</value> </property> </configuration> What is wrong? -- Best regards,