Kihwal Lee created HDFS-9802:
--------------------------------
Summary: Selectively save blocks to trash dir during rolling
upgrades
Key: HDFS-9802
URL: https://issues.apache.org/jira/browse/HDFS-9802
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Kihwal Lee
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)