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
- Ensure that the dfs.blocksize value is a multiple of 512.
- Download a client or modify the client configuration.
- dfs.blocksize is configured on the client and is subject to the client. Otherwise, the value configured on the server is used.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.