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/04/26 01:10:00 UTC

[jira] [Resolved] (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 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)