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

Bharat Viswanadham edited comment on HDFS-13222 at 3/27/18 1:59 AM:
--------------------------------------------------------------------

Hi [~shv]

If Balancer is not upgraded, balancer discards the blocksize which are less 
than minBlockSize in the old balancer. So, from behavior end, it will not be an 
issue, but NN will send the blocks unnecessarily to balancer with size greater 
than zero (If balancer is upgraded later).

 

Let me know if you still want to fix the issue, I can open a follow up jira.

 


was (Author: bharatviswa):
Hi [~shv]

If Balancer is not upgraded, balancer discards the blocksize which are less 
than zero in the old balancer. So, from behavior end it will not be an issue, 
but NN will send the blocks to balancer with size greater than zero (If 
balancer is upgraded later).

 

Let me know if you still want to fix the issue, I can open a follow up jira.

 

> Update getBlocks method to take minBlockSize in RPC calls
> ---------------------------------------------------------
>
>                 Key: HDFS-13222
>                 URL: https://issues.apache.org/jira/browse/HDFS-13222
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer & mover
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: HDFS-13222.00.patch, HDFS-13222.01.patch, 
> HDFS-13222.02.patch
>
>
>  
> getBlocks Using balancer parameter is done in this Jira HDFS-9412
>  
> Pass the Balancer conf value from Balancer to NN via getBlocks in each RPC. 
> as [~szetszwo] suggested
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to