Help Center> MapReduce Service> User Guide (ME-Abu Dhabi Region)> Troubleshooting> Using HDFS> After dfs.blocksize Is Configured and Data Is Put, Block Size Remains Unchanged
Updated on 2022-02-22 GMT+08:00

After dfs.blocksize Is Configured and Data Is Put, Block Size Remains Unchanged

Symptom

After dfs.blocksize is set to 268435456 on the interface and data is put, the original block size keeps unchanged.

Cause Analysis

The dfs.blocksize value in the hdfs-site.xml file of the client is not changed, and the value prevails.

Solution

  1. Ensure that the dfs.blocksize value is a multiple of 512.
  2. Download a client or modify the client configuration.
  3. dfs.blocksize is configured on the client and is subject to the client. Otherwise, the value configured on the server prevails.