博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
hdfs 复制因子 修改_如何更改正在运行的HDFS群集的复制因子?
阅读量:2516 次
发布时间:2019-05-11

本文共 721 字,大约阅读时间需要 2 分钟。

hdfs 复制因子 修改

Now, I have a running HDFS storing lost . I want to change its replication factor.

现在,我有一个正在运行的HDFS 用于存储丢失的 。 我想更改其复制因子。

How to change it? What will happen after it is changed?

怎么改变呢? 更改后会发生什么?

For example, I change from 2 to 3. Will HDFS automatically re-replicate the data chunks?

例如,我从2更改为3。HDFS是否会自动重新复制数据块?

First, the replication factor is client decided.

首先,复制因素是客户决定的。

Second, the replication factor is per-file configuration.

其次,复制因素是每个文件的配置。

Hence, the configuration only changes the client and takes effect for new files.

因此,该配置仅更改客户端,并对新文件生效。

For existing files, you need to manually re-set the replication factor:

对于现有文件,您需要手动重新设置复制因子:

Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。

翻译自:

hdfs 复制因子 修改

转载地址:http://vplwd.baihongyu.com/

你可能感兴趣的文章
增强一个对象的方法(继承、装饰者模式、动态代理)
查看>>
十一、多线程——8-线程池
查看>>
四、基础类库中的常用类——4-国际化与格式化
查看>>
Anders Hejlsberg访谈:Checked Exceptions的问题
查看>>
revit api 使用过滤器
查看>>
Qt532_字符编码转换
查看>>
设置网页自适应最大最小宽度,超过则隐藏
查看>>
几日工作记录
查看>>
const 和 static readonly 区别
查看>>
C#中发送消息给指定的窗口,以及接收消息(转载)
查看>>
Linux系统修改防火墙配置
查看>>
[winform]帮邻居写的一个小软件-沙盘治疗管理系统
查看>>
好玩的HTML5特效 转
查看>>
[转]ExtJS3.0与KindEditor4.1.2整合
查看>>
ubuntu常用软件
查看>>
python中读取mat文件
查看>>
团队课程设计博客
查看>>
Angular引入第三方库
查看>>
研究Extension和Category的一个例子
查看>>
int ,double以及char 类型的qsort代码
查看>>