参数 | 说明 | 示例 |
-f | 逼迫覆盖已存在文件 | hadoop fs -put -f local.txt /input |
-p | 保存访问时间等属性 | hadoop fs -put -p log.txt /logs |
-l | 允许大文件(>2GB)上传 | hadoop fs -put -l bigfile.zip /data |
技能 | 说明 | 设置参数 |
并行上传 | 分块并行上传 | mapreduce.client.submit.file.replication |
压缩传输 | 淘汰网络IO | io.compression.codecs |
校验跳过 | 克制重复校验 | dfs.client.read.shortcircuit.skip.checksum |
欢迎光临 IT评测·应用市场-qidao123.com技术社区 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |