Reputation: 1690
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.
Upvotes: 3
Views: 17479
Reputation: 369
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/
Upvotes: 7