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。有什么建议为什么第一个有效但第二个无效?
(作品)
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
谢谢!
如果两个集群运行的 HDFS 版本不兼容,那么您可以使用它们之间的webhdfs协议distcp。
webhdfs
distcp
hadoop distcp webhdfs://namenode1:50070/source/dir webhdfs://namenode2:50070/destination/dir
如果HTTP您使用的是webhdfs.
HTTP