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:47:00 UTC

[jira] [Created] (AMBARI-25126) namenode may log "/ by zero" exception with ambari metrics

Shen Yinjie created AMBARI-25126:
------------------------------------

             Summary: namenode may log "/ by zero" exception with ambari metrics
                 Key: AMBARI-25126
                 URL: https://issues.apache.org/jira/browse/AMBARI-25126
             Project: Ambari
          Issue Type: Bug
            Reporter: Shen Yinjie


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)