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

    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

        Activity

          People

            Unassigned Unassigned
            echohlne huangkunlun
            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