是否更改dfs.blocksizeaffect现有数据的值 [英] Does changing the value of dfs.blocksizeaffect existing data
本文介绍了是否更改dfs.blocksizeaffect现有数据的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$ b $ 1)这个改变会影响HDFS中的现有数据
2)我是否需要将这个改变传播给他所有的节点Hadoop集群或仅在NameNode上就足够了
解决方案
您应该对所有从站的hdfs-site.xml进行更改。 .. dfs.block大小应该在所有datanodes中保持一致。
My Hadoop version is 2.5.2. I am changing my dfs.blocksize in hdfs-site.xml file on the master node. I have the following question:
1) Will this change affect the existing data in HDFS 2) Do I need to propogate this change to all he nodes in Hadoop cluster or only on the NameNode is sufficient
解决方案
you should be making changes in hdfs-site.xml of all slaves also... dfs.block size should be consistent accross all datanodes.
这篇关于是否更改dfs.blocksizeaffect现有数据的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文