hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13222) Remove checking size of block size is less than minblocksize
Date Fri, 02 Mar 2018 23:08:00 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-13222:

As discussed, it is better to pass minSize via RPC from Balancer to NameNode (instead of reading
it from NameNode conf) so that Balancer can run with different minSize.

> Remove checking size of block size is less than minblocksize
> ------------------------------------------------------------
>                 Key: HDFS-13222
>                 URL: https://issues.apache.org/jira/browse/HDFS-13222
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer &amp; mover
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>         Attachments: HDFS-13222.00.patch
> We can remove the check for getBlock().getNumBytes() < getBlocksMinBlockSize
> As this is taken care in the namenode, when it returns blocks, it uses the 
> dfs.balancer.getBlocks.min-block-size and returns blocks greater than minblock size.
> getBlocks Using balancer parameter is done in this Jira HDFS-9412

This message was sent by Atlassian JIRA

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

View raw message