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

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

Do you need to change FSNamesystem.LOG.debug -> FSNamesystem.LOG.info?

> 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.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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to