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

Move block replication logic from BlockManager to a new class ReplicationManager

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • namenode
    • None

    Description

      Currently the BlockManager is managing all replication logic for over- , under- and mis-replicated blocks. This jira proposes to move that code to a new class named ReplicationManager for cleaner code logic, shorter source files, and easier lock separating work in future.

      The ReplicationManager is a package local class, providing BlockManager with methods that accesses its internal data structures of replication queue. Meanwhile, the class maintains the lifecycle of replicationThread and replicationQueuesInitializer daemon.

      Attachments

        1. HDFS-9442.008.patch
          191 kB
          Mingliang Liu
        2. HDFS-9442.007.patch
          173 kB
          Mingliang Liu
        3. HDFS-9442.006.patch
          149 kB
          Mingliang Liu
        4. HDFS-9442.005.patch
          148 kB
          Mingliang Liu
        5. HDFS-9442.004.patch
          149 kB
          Mingliang Liu
        6. HDFS-9442.003.patch
          148 kB
          Mingliang Liu
        7. HDFS-9442.002.patch
          148 kB
          Mingliang Liu
        8. HDFS-9442.001.patch
          144 kB
          Mingliang Liu
        9. HDFS-9442.000.patch
          114 kB
          Mingliang Liu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment