[ 
https://issues.apache.org/jira/browse/AMBARI-18185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15492276#comment-15492276
 ] 

Hudson commented on AMBARI-18185:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #37 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/37/])
AMBARI-18185 : Selecting one host when topN is set, throws an error. (avijayan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cd7788621d22750156e8df52a6ac94faba49d07a])
* (edit) 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java


> Selecting one host when topN is set, throws an error
> ----------------------------------------------------
>
>                 Key: AMBARI-18185
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18185
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.4.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18185.patch
>
>
> topN is available by default on almost all Grafana templatized dashboards.
> When viewing any of these dashboards, if only one "host" or templated option 
> is chosen, then AMS returns with an exception (screenshot attached).
> Sample query:
> collectorhost:6188/ws/v1/timeline/metrics?metricNames=cpu_system._avg&hostname=hostname&appId=HOST&startTime=1470925360&endTime=1470946960&topN=20&topNFunction=avg&isBottomN=false



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to