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

Additional query support for HDFS TopN metrics

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      We need to support the following query to render required graphs in Grafana for HDFS- TopN dashboard.

      • dfs.NNTopUserOpCounts.windowMs=150000.op=*.user=%

      Currently, a Null Pointer Exception is thrown for the query.

      2016-12-28 22:30:24,614 WARN org.apache.hadoop.yarn.webapp.GenericExceptionHandler: INTERNAL_SERVER_ERROR
      java.lang.NullPointerException
      	at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.PhoenixHBaseAccessor.appendMetricFromResultSet(PhoenixHBaseAccessor.java:867)
      	at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.PhoenixHBaseAccessor.getMetricRecords(PhoenixHBaseAccessor.java:782)
      	at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.getTimelineMetrics(HBaseTimelineMetricStore.java:255)
      	at org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TimelineWebServices.getTimelineMetrics(TimelineWebServices.java:359)
      	at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      

      Attachments

        1. AMBARI-19320-2.patch
          1 kB
          Aravindan Vijayan
        2. AMBARI-19320.patch
          1 kB
          Aravindan Vijayan

        Activity

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: