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

Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      This jira proposes to refactor two inner static classes, BlockToMarkCorrupt and ReplicationWork from BlockManager to standalone classes. The refactor also improves readability by abstracting the complexity of scheduling and validating replications to corresponding helper methods.

      Attachments

        1. HDFS-8938.000.patch
          23 kB
          Mingliang Liu
        2. HDFS-8938.001.patch
          23 kB
          Mingliang Liu
        3. HDFS-8938.002.patch
          23 kB
          Mingliang Liu
        4. HDFS-8938.003.patch
          24 kB
          Mingliang Liu
        5. HDFS-8938.004.patch
          28 kB
          Mingliang Liu
        6. HDFS-8938.005.patch
          28 kB
          Mingliang Liu
        7. HDFS-8938.006.patch
          28 kB
          Mingliang Liu
        8. HDFS-8938.007.patch
          27 kB
          Mingliang Liu
        9. HDFS-8938.008.patch
          27 kB
          Mingliang Liu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: