Reputation: 41
what's the difference between distcp hdfs and hftp, why distcp hdfs is effective? we are copy HFDS files between two cluster of different version。
Upvotes: 1
Views: 1895
Reputation: 2356
distcp hftp should be used when the copying of the data between two clusters of different versions(different versions of hadoop). the command should be executed from the destination cluster, (more specifically, on TaskTrackers that can write to the destination cluster)
The source should be specified with hftp:///.
Upvotes: 1