Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2239

BlockPlacementPolicyRaid should call getBlockLocations only when necessary

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: contrib/raid
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently BlockPlacementPolicyRaid calls getBlockLocations for every chooseTarget().
      This puts pressure on NameNode. We should avoid calling if this file is not raided or a parity file.

      1. MAPREDUCE-2239-3.txt
        15 kB
        Scott Chen
      2. MAPREDUCE-2239-2.txt
        14 kB
        Scott Chen
      3. MAPREDUCE-2239-1.txt
        16 kB
        Scott Chen
      4. MAPREDUCE-2239.txt
        16 kB
        Scott Chen

        Activity

          People

          • Assignee:
            Scott Chen
            Reporter:
            Scott Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development