Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Currently datanodes save any invalidated blocks to the trash directory during a rolling upgrade. Compared to the "previous" directory for full upgrade, the trash can grow quickly. This is especially true when blocks are created and then quickly deleted.
Since trash is mainly meant to be defense against faulty new namenode and used for rolling back, saving new blocks in trash does not add much value. If anything, datanodes run out of space quicker.
Attachments
Issue Links
- relates to
-
HDFS-12348 disable removing blocks to trash while rolling upgrade
- Patch Available