Configuring block size

Learn how to configure the block metadata batch size and minimum block size for HDFS.

The Block Metadata Batch Size property configures the amount of block metadata that gets retrieved. The Minimum Block Size property configures the smallest block to consider for moving. Tuning these properties can improve performance during balancing.
  1. In the Cloudera Manager Admin Console, select Clusters > <HDFS cluster>.
  2. Select the Configuration tab.
  3. Search for the following properties:
    • Block Metadata Batch Size (dfs.balancer.getBlocks.size)
    • Minimum Block Size (dfs.balancer.getBlocks.min-block-size)
  4. Set the values for each, and click Save Changes.