Transfer file out from HDFS

前端 未结 5 1733
傲寒
傲寒 2021-02-01 21:34

I want to transfer files out from HDFS to local filesystem of a different server which is not in hadoop cluster but in the network.

I could have done:

         


        
5条回答
  •  醉酒成梦
    2021-02-01 21:41

    This is the simplest way to do it:

    ssh  "hdfs dfs -cat  " > 
    

    It works for binary files too.

提交回复
热议问题