hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupathi, Ramakrishna" <rama.kr...@hp.com>
Subject RE: No such file or directory
Date Tue, 29 Jul 2014 20:12:46 GMT
I suspect there is  something more fundamental… I am using Hadoop 2.2  .

hduser@hadoop-master:~$ hdfs dfs -mkdir /home/hduser/dir1
14/07/29 20:10:30 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your
platform... using builtin-java classes
where applicable
mkdir: `/home/hduser/dir1': No such file or directory
hduser@hadoop-master:~$ hadoop fs -mkdir /home/hduser/dir1
14/07/29 20:10:51 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your
platform... using builtin-java classes
where applicable
mkdir: `/home/hduser/dir1': No such file or directory
hduser@hadoop-master:~$

--RamaK


From: hadoop hive [mailto:hadoophive@gmail.com]
Sent: Tuesday, July 29, 2014 12:48 PM
To: user@hadoop.apache.org
Subject: Re: No such file or directory


You are looking for local folder by hdfs, you need to create on hdfs then only you can find
it.

Hadoop fs -mkdir /home/hduser/mydata

Then try ls
On Jul 29, 2014 11:47 PM, "Bhupathi, Ramakrishna" <rama.kri.b@hp.com<mailto:rama.kri.b@hp.com>>
wrote:
Folks,

Can you help me with this ? I am not sure why I am getting this  “No such file or directory”
for every hdfs command I use. The Hadoop deamons are running.

The /home/hduser/mydata directory has been formatted by the NameNode.

hduser@hadoop-master:~/mydata$ hdfs dfs -ls ./hdfs/
14/07/29 18:12:48 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your
platform... using builtin-java classes
where applicable
ls: `./hdfs/': No such file or directory
hduser@hadoop-master:~/mydata$ pwd
/home/hduser/mydata
hduser@hadoop-master:~/mydata$ hdfs dfs -ls /home/hduser/mydata
14/07/29 18:13:19 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your
platform... using builtin-java classes
where applicable
ls: `/home/hduser/mydata': No such file or directory
hduser@hadoop-master:~/mydata$

--RamaK
Mime
View raw message