Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9802

Selectively save blocks to trash dir during rolling upgrades

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              kihwal Kihwal Lee
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: