[
https://issues.apache.org/jira/browse/AMBARI-25126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shen Yinjie resolved AMBARI-25126.
----------------------------------
Resolution: Fixed
> 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
> Labels: pull-request-available
> Attachments: exception.png
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)