美文网首页
hadoop修改文件副本数

hadoop修改文件副本数

作者: 北极企鹅ys | 来源:发表于2019-03-28 11:32 被阅读0次

hadoop修改文件副本数

Hadoop上默认一个人间的副本数是3,这个也是可以再配置文件中<dfs.replication>参数修改的。

这里我们说一下,上传一个文件的时候更改文件的副本数。让他不用默认的副本数。

博客迁移到github,github地址: https://sukbeta.github.io/hadoop-set-replication

上传文件

命令上传文件,副本数为1

博客迁移到github, 请访问github地址: https://sukbeta.github.io/hadoop-set-replication/

相关文章

网友评论

      本文标题:hadoop修改文件副本数

      本文链接:https://www.haomeiwen.com/subject/nyxqbqtx.html