BlockPlacementPolicyRaid should call getBlockLocations only when necessary
--------------------------------------------------------------------------

                 Key: MAPREDUCE-2239
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2239
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: contrib/raid
    Affects Versions: 0.23.0
            Reporter: Scott Chen
            Assignee: Scott Chen
             Fix For: 0.23.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to