Search code examples
hadoophdfsmicrosoft-distributed-file-system

Does changing the value of dfs.blocksizeaffect existing data


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


Solution

  • you should be making changes in hdfs-site.xml of all slaves also... dfs.block size should be consistent accross all datanodes.