Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25126

Fix "/ by zero" exception in namenode log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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".

      Attachments

        1. exception.png
          213 kB
          Shen Yinjie

        Activity

          People

            Unassigned Unassigned
            shenyinjie Shen Yinjie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m