hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhiwei Lin <zhiwei...@gmail.com>
Subject Re: copyFromLocal: File does not exist.
Date Tue, 09 Oct 2012 19:11:17 GMT
use ls -l to check if hdfs has the right to access url.txt.


On 9 October 2012 19:40, Bai Shen <baishen.lists@gmail.com> wrote:

> I have a CDH3 cluster up and running.  I'm on the namenode and trying to
> copy a file into HDFS.  However, whenever I run copyFromLocal, I get a file
> does not exist error.
>
> [root@node1-0 ~]# sudo -u hdfs hadoop fs -copyFromLocal /root/url.txt /
> copyFromLocal: File /root/url.txt does not exist.
>
> What am I doing wrong?  url.txt exists in /root on the local filesystem.
>
> Thanks.
>



-- 

Best wishes.

Zhiwei

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message