Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8966 Separate the lock used in namespace and block management layer
  3. HDFS-9498

Move code that tracks blocks with future generation stamps to BlockManagerSafeMode

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-4015 counts and reports orphaned blocks numberOfBytesInFutureBlocks in safe mode. It was implemented in BlockManager. Per discussion in HDFS-9129 which introduces the BlockManagerSafeMode, we can move code that maintaining orphaned blocks to this class.

      Leaving safe mode checks blocks with future GS in FSNamesystem. This code can also be moved to BlockManagerSafeMode.

        Attachments

        1. HDFS-9498.000.patch
          29 kB
          Mingliang Liu
        2. HDFS-9498.001.patch
          34 kB
          Mingliang Liu
        3. HDFS-9498.002.patch
          35 kB
          Mingliang Liu
        4. HDFS-9498.003.patch
          34 kB
          Mingliang Liu
        5. HDFS-9498.004.patch
          35 kB
          Mingliang Liu

          Activity

            People

            • Assignee:
              liuml07 Mingliang Liu
              Reporter:
              liuml07 Mingliang Liu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment