Unable to use the hadoop commands after registering in https://labs.itversity.com/user/lab


#1

i am currently in the path - /home/username . I created two files , but I am unable to do any hdfs related commands like hdfs fs -ls filename , it showing no such file exists.

But I am able to do hdfs fs -ls /user/root/filename.

Do I have to create file in the path - /user/root , but still I am unable to go to that path . I think I don’t have the permission to do the same.


#2

@souramya Refer below screenshot to understand the difference between a home directory in local and user directory in hdfs path


#3

You only have access to /user/username to create files and directories. You will not be able to do so in other’s directories such as root.