Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - There are 2 datanode(s) running and 2 node(s) are excluded in this operation.


Copy link to this message
-
There are 2 datanode(s) running and 2 node(s) are excluded in this operation.
Pedro Sá da Costa 2013-08-19, 14:11
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,