[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002493#comment-13002493
 ] 

Ramkumar Vadali commented on MAPREDUCE-2239:
--------------------------------------------

+1
Patch looks good

> 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
>
>         Attachments: MAPREDUCE-2239-1.txt, MAPREDUCE-2239-2.txt, 
> MAPREDUCE-2239-3.txt, MAPREDUCE-2239.txt
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to