[
https://issues.apache.org/jira/browse/HDFS-10588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405238#comment-15405238
]
Weiwei Yang edited comment on HDFS-10588 at 8/3/16 3:16 AM:
------------------------------------------------------------
Revisited this issue, I think the simplest fix is to remove the error logging
from {{checkDiskBalancerEnabled}}, as the error is already wrapped into
{{DiskBalancerException}}, it could be handled accordingly by callers. Leave
this additional logging will cause the false alarm in logs when UI access
datanode JMX even when disk balancer is disabled.
was (Author: cheersyang):
Revisited this issue, I think the simplest fix is to remove the error logging
from {{checkDiskBalancerEnabled}}, as the error is already wrapped into
{{DiskBalancerException}}, it could be handled accordingly by callers. Leave
this additional logging will cause the false alarm in logs when UI access
datanode JMX even when disk balacner is disabled.
> False alarm in datanode log - ERROR - Disk Balancer is not enabled
> ------------------------------------------------------------------
>
> Key: HDFS-10588
> URL: https://issues.apache.org/jira/browse/HDFS-10588
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, hdfs
> Reporter: Weiwei Yang
> Assignee: Weiwei Yang
> Attachments: HDFS-10588.001.patch, HDFS-10588.002.patch,
> HDFS-10588.003.patch, HDFS-10588.004.patch, HDFS-10588.005.patch
>
>
> Noticed error message in namenode log
> {code}2016-06-28 19:49:12,221 ERROR datanode.DiskBalancer
> (DiskBalancer.java:checkDiskBalancerEnabled(297)) - Disk Balancer is not
> enabled.
> {code}
> even with default configuration dfs.disk.balancer.enabled=false.This is
> triggered when accessing datanode web UI, because
> {{DataNode#getDiskBalancerStatus}} calls the check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]