You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2016/02/12 21:49:18 UTC
[jira] [Created] (HDFS-9802) Selectively save blocks to trash dir
during rolling upgrades
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)