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
Post a Comment