Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ある HDFS から別の HDFS にデータをコピーしようとしています。1つ目は機能するが2つ目は機能しない理由はありますか?
(作品)
hadoop distcp hdfs://abc.net:8020/foo/bar webhdfs://def.net:14000/bar/foo
(動作しません )
hadoop distcp webhdfs://abc.net:50070/foo/bar webhdfs://def:14000/bar/foo
ありがとう!
2 つのクラスターが互換性のないバージョンの HDFS を実行している場合は、それらの間でwebhdfsプロトコルを使用できdistcpます。
webhdfs
distcp
hadoop distcp webhdfs://namenode1:50070/source/dir webhdfs://namenode2:50070/destination/dir
HTTPを使用している場合は、ソース コマンドと宛先コマンドでNameNode URI と NameNodeポートを指定する必要がありますwebhdfs。
HTTP