XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1, 2.8.2
    • namenode
    • None
    • Reviewed

    Description

      Currently BlockManager calls Namesystem#getBlockCollection in order to:
      1. check if the block has already been abandoned
      2. identify the storage policy of the block
      3. meta save

      For #1 we can use BlockInfo's internal state instead of checking if the corresponding file still exists.

      Attachments

        1. HDFS-9754.000.patch
          20 kB
          Jing Zhao
        2. HDFS-9754.001.patch
          23 kB
          Jing Zhao
        3. HDFS-9754.002.patch
          23 kB
          Jing Zhao

        Issue Links

          Activity

            People

              jingzhao Jing Zhao
              jingzhao Jing Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: