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. HADOOP-5124-branch-0.20-security.patch
        8 kB
        Jitendra Nath Pandey
      2. optimizeInvalidate2-0.20.2.patch
        5 kB
        Jeff Whiting
      3. optimizeInvalidate2.patch
        7 kB
        Hairong Kuang
      4. optimizeInvalidate1.patch
        8 kB
        Hairong Kuang
      5. optimizeInvalidate.patch
        4 kB
        Hairong Kuang

        Issue Links

          Activity

          No work has yet been logged on this 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