hdfs - why does my hadoop command does not work? -


i have hadoop cluster set 1 master , 2 slaves. when type

hadoop fs -ls  ls: cannot access .: no such file or directory. 

but when type following:

hadoop fs -ls / found 1 items drwxr-xr-x   - mike supergroup          0 2014-06-24 00:24 /usr 

i same output both on master , slaves. why hadoop fs -ls not work?

thanks!

  hadoop fs -ls 

this tries list current user's home directory on hdfs. since think /user/{username} directory doesn't exist in case hence error,

  hadoop fs -ls /  

you telling list root directory exist.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -