Abstract

The present disclosure relates to a method and system for autonomously detecting, safely remediating, and verifying the resolution of small-file accumulation in a distributed file system such as HDFS. A detection module computes a severity score for registered storage locations, combining file-count deviation from an expected baseline with file-size deviation from a target block size, and confirms real-world impact by correlating the score against downstream job task-count-to-data-volume ratios before any action is taken. For an actionable location, a safety module verifies the absence of active writers and derives a quiet window from historical activity telemetry, and a compaction module rewrites the small files into block-sized files at an isolated staging location. Promotion into production occurs only after an exact record-count parity check, through a metadata-only atomic rename, with the original files retained at a backup location for a grace period to enable instant rollback. A verification module measures the next downstream job execution against its historical baseline, logs before-and-after evidence, and expands autonomous scope based on the accumulated verified track record.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS