Copy files from local to hdfs


#1

I downloaded the data from github, but I can’t copy from home dir to hdfs.
This is what I tried:
hadoop fs -put /home/aliattaran/ /user/aliattaran/


#2

You should try like

hadoop fs -put /home/aliattaran/data /user/aliattaran/