You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Shen Yinjie (JIRA)" <ji...@apache.org> on 2019/01/25 06:48:00 UTC
[jira] [Updated] (AMBARI-25126) Fix "/ by zero" exception in
namenode log
[ https://issues.apache.org/jira/browse/AMBARI-25126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shen Yinjie updated AMBARI-25126:
---------------------------------
Summary: Fix "/ by zero" exception in namenode log (was: namenode may log "/ by zero" exception with ambari metrics)
> Fix "/ by zero" exception in namenode log
> -----------------------------------------
>
> Key: AMBARI-25126
> URL: https://issues.apache.org/jira/browse/AMBARI-25126
> Project: Ambari
> Issue Type: Bug
> Reporter: Shen Yinjie
> Priority: Major
> Attachments: exception.png
>
>
> When there is no metrics collector works well,"/ by zero " exception is printed in namenode logs ,which is throwed by MetricSinkWriteShardHostnamehashingStrategy#findCollectorShard()
> We should print more friendly messages instead of "/ by zero".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)