[
https://issues.apache.org/jira/browse/HDFS-9790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaobing Zhou updated HDFS-9790:
--------------------------------
Attachment: HDFS-9790.001.patch
Here posted patch V001, please kindly review it, thanks.
> HDFS Balancer should exit with a proper message if upgrade is not finalized
> ---------------------------------------------------------------------------
>
> Key: HDFS-9790
> URL: https://issues.apache.org/jira/browse/HDFS-9790
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Attachments: HDFS-9790.001.patch
>
>
> PROBLEM: Currently if the upgrade is not finalized the balancer just exits as
> it cannot move any blocks as no deletes can go through the datanodes before a
> finalize. This is not clear to users.
> EXPECTED BEHAVIOR:
> Balancer should exit saying something like "Balancer exiting as upgrade is
> not finalized. Please finalize the hdfs upgrade before running the balancer"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)