Change Block size of existing files in Hadoop

后端 未结 3 2073
情话喂你
情话喂你 2020-12-30 11:22

Consider a hadoop cluster where the default block size is 64MB in hdfs-site.xml. However, later on the team decides to change this to 128MB. Here are my questio

3条回答
  •  猫巷女王i
    2020-12-30 11:43

    On point 1 - On Hadoop 1.2.1, A restart is not required after a change to dfs.block.size in hdfs-site.xml file. The file block size can be easily verified by checking the Hadoop administration page at http://namenode:50070/dfshealth.jsp

    Ensure to change the dfs.block.size on all the data nodes.

提交回复
热议问题