[ 
https://issues.apache.org/jira/browse/HDFS-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hairong Kuang updated HDFS-1370:
--------------------------------

    Attachment: getBlocksLimit.patch

Here comes the patch!

> NameNode should limit the number of blocks to return when balancer asks for a 
> partial blocks map
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1370
>                 URL: https://issues.apache.org/jira/browse/HDFS-1370
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         Attachments: getBlocksLimit.patch
>
>
> This has a couple of advantages:
> 1. limit the response size;
> 2. limit the amount of time when serving getBlocks call, hence improving NN's 
> responsiveness.

-- 
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