You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2018/07/02 23:25:00 UTC

[jira] [Comment Edited] (HDFS-13715) diskbalancer does not work if one of the blockpools are empty on a Federated cluster

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org