[
https://issues.apache.org/jira/browse/HDFS-13715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530566#comment-16530566
]
Bharat Viswanadham edited comment on HDFS-13715 at 7/2/18 11:24 PM:
--------------------------------------------------------------------
This also fixed isValidBlock and isValidRbw also, if block passed is null,
current code throws NPE. Changed the code to return false.
was (Author: bharatviswa):
This also fixed isValidBlock and isValidRbw also, if block passed is null,
returns false. Otherwise we get NPE from these methods.
> diskbalancer does not work if one of the blockpools are empty on a Federated
> cluster
> ------------------------------------------------------------------------------------
>
> Key: HDFS-13715
> URL: https://issues.apache.org/jira/browse/HDFS-13715
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: diskbalancer
> Reporter: Namit Maheshwari
> Assignee: Bharat Viswanadham
> Priority: Major
> Attachments: HDFS-13175.00.patch
>
>
> Try to run diskbalancer when one of the blockpools are empty on a Federated
> cluster.
> diskbalancer process run and completes successfully within seconds. Actual
> disk balancing does not happen.
> cc - [~bharatviswa], [~anu]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]