hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xeonmailinglist <xeonmailingl...@gmail.com>
Subject can't copy files between HDFS to a specific dir
Date Mon, 17 Aug 2015 20:46:00 GMT
Hi,

I am trying to understand why I can't copy files between HDFS filesytems 
to a directory "/input1", but I can copy files to the root dir "/".

Eg, I have 2 hosts (hadoop-coc-2, and hadoop-coc3), and I can't copy 
files between the dir "input1" [1], but I can copy the file to the root 
dir [2].

Initially only hadoop-coc-2 (192.168.56.102) have the data. hadoop-coc-3 
is empty. After I tried to copy the file to hadoop-coc-3, only the dir 
"input1 was created in the destination.

I don't understand why this is happening. Any help?

[1]
`hadoop distcp hdfs://192.168.56.102:9000/input1/a.txt 
hdfs://192.168.56.103:9000/input1/`

[2]
`hadoop distcp hdfs://192.168.56.102:9000/input1/a.txt 
hdfs://192.168.56.103:9000/`

Thanks,


Mime
View raw message