XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1, 2.8.2
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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.002.patch
          23 kB
          Jing Zhao
        2. HDFS-9754.001.patch
          23 kB
          Jing Zhao
        3. HDFS-9754.000.patch
          20 kB
          Jing Zhao

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: