I am following the Udacity's course on Hadoop which instructs using the command hadoop fs -ls
to list files. But on my machine running Ubuntu, it instead list files in the present working directory. What am I doing wrong?
which hadoop
commands gives the output:
/home/usrname/hadoop-2.5.1//hadoop
Are the double slashes in the path the cause of this problem?