Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2239

BlockPlacementPolicyRaid should call getBlockLocations only when necessary

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • contrib/raid
    • None
    • 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.

      Attachments

        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

            schen Scott Chen
            schen Scott Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: