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

Metrics cannot be stored and the exception message is null when metric value is NaN

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.4, 2.7.5
    • Fix Version/s: 2.7.6
    • Component/s: ambari-metrics
    • Labels:
      None
    • Environment:

      Ambari:2.7.4

      Description

      The exception information frequently appeared in ambari-metrics-collector.log as follows´╝Ü

      2020-11-12 12:28:11,200 WARN org.apache.ambari.metrics.core.timeline.PhoenixHBaseAccessor: Failed on insert records to store : null
      2020-11-12 12:28:11,200 WARN org.apache.ambari.metrics.core.timeline.PhoenixHBaseAccessor: Metric that cannot be stored : [default.General.hs2_avg_active_session_time,hiveserver2]{1605155168235=NaN, 1605155198236=NaN, 1605155228235=NaN, 1605155258235=NaN}
      

      The exception message of metrics written to HBase is directly displayed as null.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                echohlne akiyamaneko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 40m
                  40m