How to copy data from LFS to HDFS


#1

I am trying to copy the datasets from /data/retail_db to HDFS under my folder mraheemabdul.

Can you please help with the HDFS path?


#2

Use below command to copy data from local:

hadoop fs -copyFromLocal /data/retail_db /user/mraheemabdul/

Then check the contents of the directory:

hadoop fs -ls /user/mraheemabdul/retail_db