Unable to copy local files onto my root directory /user/sreejith


#1

When i try to copy from local file system onto HDFS as mentioned in the video lecture, i get the below error, please help.

[sreejith@gw02 ~]$ hadoop fs -copyFromLocal /data/crime /user/sreejith.
copyFromLocal: Permission denied: user=sreejith, access=WRITE, inode="/user/sreejith.":hdfs:hdfs:drwxr-xr-x


#2

remove .(dot) at the last of your command.

Try like below:
hadoop fs -copyFromLocal /data/crime /user/sreejith/


#3

thank you, it is fine now


#4