Hadoop Common
  1. Hadoop Common
  2. HADOOP-5124

A few optimizations to FsNamesystem#RecentInvalidateSets

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0, 0.21.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      This jira proposes a few optimization to FsNamesystem#RecentInvalidateSets:
      1. when removing all replicas of a block, it does not traverse all nodes in the map. Instead it traverse only the nodes that the block is located.
      2. When dispatching blocks to datanodes in ReplicationMonitor. It randomly chooses a predefined number of datanodes and dispatches blocks to those datanodes. This strategy provides fairness to all datanodes. The current strategy always starts from the first datanode.

      1. optimizeInvalidate2-0.20.2.patch
        5 kB
        Jeff Whiting
      2. optimizeInvalidate2.patch
        7 kB
        Hairong Kuang
      3. optimizeInvalidate1.patch
        8 kB
        Hairong Kuang
      4. optimizeInvalidate.patch
        4 kB
        Hairong Kuang
      5. HADOOP-5124-branch-0.20-security.patch
        8 kB
        Jitendra Nath Pandey

        Issue Links

          Activity

          Jitendra Nath Pandey made changes -
          Fix Version/s 0.20.205.1 [ 12318244 ]
          Target Version/s 0.20.205.1 [ 12318244 ]
          Jitendra Nath Pandey made changes -
          Attachment HADOOP-5124-branch-0.20-security.patch [ 12502823 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Todd Lipcon made changes -
          Link This issue is related to HDFS-1257 [ HDFS-1257 ]
          Jeff Whiting made changes -
          Attachment optimizeInvalidate2-0.20.2.patch [ 12446257 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Tsz Wo Nicholas Sze made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Hadoop Flags [Reviewed]
          Hairong Kuang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hairong Kuang made changes -
          Attachment optimizeInvalidate2.patch [ 12399320 ]
          Hairong Kuang made changes -
          Attachment optimizeInvalidate1.patch [ 12399047 ]
          Hairong Kuang made changes -
          Attachment optimizeInvalidate.patch [ 12398778 ]
          Hairong Kuang made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-5016 [ HADOOP-5016 ]
          Hairong Kuang created issue -

            People

            • Assignee:
              Hairong Kuang
              Reporter:
              Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development