hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Haase <rdha...@gmail.com>
Subject Re: No such file or directory
Date Tue, 29 Jul 2014 18:26:00 GMT
Try the same commands, but set the config path.

e.g.

$ hadoop --config /path/to/hdfs/config/dir dfs ...


On Tue, Jul 29, 2014 at 12:16 PM, Bhupathi, Ramakrishna <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
>



-- 
*Kernighan's Law*
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it."

Mime
View raw message