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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • namenode
    • None
    • 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.004.patch
          35 kB
          Mingliang Liu
        2. HDFS-9498.003.patch
          34 kB
          Mingliang Liu
        3. HDFS-9498.002.patch
          35 kB
          Mingliang Liu
        4. HDFS-9498.001.patch
          34 kB
          Mingliang Liu
        5. HDFS-9498.000.patch
          29 kB
          Mingliang Liu

        Activity

          People

            liuml07 Mingliang Liu
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: