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" <[email protected]> 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 >
