hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arpit Gupta <ar...@hortonworks.com>
Subject Re: copyFromLocal: File does not exist.
Date Tue, 09 Oct 2012 18:48:07 GMT
probably user hdfs does not have access to /root on your local file system. 

I would copy the file to /tmp and give it appropriate permissions and then try again.

--
Arpit Gupta
Hortonworks Inc.
http://hortonworks.com/

On Oct 9, 2012, at 11:40 AM, 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.


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