Difference between hadoop fs -put and hadoop fs -copyFromLocal

前端 未结 5 368
一个人的身影
一个人的身影 2020-12-02 15:26

-put and -copyFromLocal are documented as identical, while most examples use the verbose variant -copyFromLocal. Why?

Same thing for

5条回答
  •  我在风中等你
    2020-12-02 15:48

    • both are same except
    • copyFromLocal is restricted to copy from local while put can take file from any (other hdfs/local filesystem/..)

提交回复
热议问题