Hadoop - Recursive copy/put from local to HDFS
14,382
Try this command
hadoop fs -copyFromLocal docs/* /input/
Where /input/ is the path of the HDFS location where you want to store.
hadoop fs -copyFromLocal local/* /Hdfs/
Author by
Joel
Updated on June 25, 2022Comments
-
Joel almost 2 years
I can use
hadoop fs -put local hdfs
to copy from local to HDFS. Is there a way to do recursive put? Tried-put -r
and it doesnt work.