Configure HDFS Small File Threshold
Pulse identifies an HDFS file as a small file with a size threshold. You can configure the threshold via setting the variable (in Bytes) in the cluster configuration file to set the small file size threshold. Files meeting this threshold or smaller are identified as small files and displayed on the HDFS Analytics, HDFS Explorer, etc., pages.hdfs.analytics.file.size = xxxxxx
Steps to configure the threshold:
- Open the
file._$AcceloHome/config/acceldata_<clustername>.conf_ - Add the following variable and configure the file size in Bytes. By default, the small file value is set to 1 MB.
common.configs = {
hdfs.analytics.file.size = 1048576 (example, in Bytes) # update this value
}
Info
The configured file size is pushed as a real-time metric under in the database.hdfs_root_analysis
- Save and close the file.
- Run the following command to push the changes. To reflect the changes on the FS Analytics page, run the FSImage command to reprocess the reports.
accelo admin database push-config
accelo admin fsa process
accelo admin fsa reports

Have a suggestion?