You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Saurabh (JIRA)" <ji...@apache.org> on 2017/10/26 10:38:02 UTC

[jira] [Commented] (AMBARI-21710) Yarn-Queues dashboard not displaying data in Grafana.

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

Saurabh commented on AMBARI-21710:
----------------------------------

I was also getting the same error :

curl --insecure -u adminadmin -H 'X-Requested-By: ambari' -X GET "http://localhost:6188/ws/v1/timeline/metrics?metricNames=yarn.QueueMetrics.Queue=root.default.AppsRunning._max&appId=resourcemanager&startTime=NaNundefined1508981777&endTime=1509003377" | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
181   181    0   181    0     0  24011      0 --:--:-- --:--:-- --:--:-- 45250
{
    "exception": "BadRequestException", 
    "javaClassName": "org.apache.hadoop.yarn.webapp.BadRequestException", 
    "message": "java.lang.Exception: startTime and limit should be numeric values"
}


> Yarn-Queues dashboard not displaying data in Grafana.
> -----------------------------------------------------
>
>                 Key: AMBARI-21710
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21710
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Blocker
>             Fix For: 2.5.2
>
>
>  There is no data or error saying 'timeseries data request error'. The api call being made in the background which turned out to be this: 
> https://<>:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=yarn.QueueMetrics.Queue=root.AppsRunning._max&appId=resourcemanager&startTime=NaNundefined1502465840&endTime=1502487440
> Note that, 'NaNundefined' is prefixed to the 'startTime' value. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)