Reputation: 301
If i write the command :
[hdfs@nnode ~]$ hadoop fs -ls
i get the message :
ls: `.': No such file or directory
I know that hadoop fs -ls by default looks for the folder /home/hdfs and so i created it using
hadoop fs -mkdir /home
and then
hadoop fs -mkdir /home/hdfs
however i still get the message:
ls: `.': No such file or directory
Upvotes: 0
Views: 1475
Reputation: 191681
It's actually /user/hdfs
, not /home
Try
hadoop fs -mkdir -p /user/hdfs
Upvotes: 2