Help Center> MapReduce Service> Troubleshooting> Using HDFS> After dfs.blocksize Is Configured on the UI and Data Is Uploaded, the Block Size Does Not Change
Updated on 2023-11-30 GMT+08:00

After dfs.blocksize Is Configured on the UI and Data Is Uploaded, the Block Size Does Not Change

Symptom

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

Cause Analysis

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

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 is used.