How to copy data from one HDFS to another HDFS?

后端 未结 6 1305
日久生厌
日久生厌 2021-01-30 11:30

I have two HDFS setup and want to copy (not migrate or move) some tables from HDFS1 to HDFS2. How to copy data from one HDFS to another HDFS? Is it possible via Sqoop or other c

6条回答
  •  没有蜡笔的小新
    2021-01-30 12:26

    It's also useful to note that you can run the underlying MapReduce jobs with either the source or target cluster like so:

    hadoop --config /path/to/hadoop/config distcp  
    

提交回复
热议问题