ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21249) Empty precision query parameter throws an error while fetching metrics from AMS.
Date Wed, 14 Jun 2017 19:31:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aravindan Vijayan updated AMBARI-21249:
---------------------------------------
    Summary: Empty precision query parameter throws an error while fetching metrics from AMS.
 (was: Empty precision query parameter throws a HTTP error while fetching metrics from AMS.)

> Empty precision query parameter throws an error while fetching metrics from AMS.
> --------------------------------------------------------------------------------
>
>                 Key: AMBARI-21249
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21249
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.5.1
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>             Fix For: 2.5.2
>
>
> GET request
> http://c6401.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=mem_free&hostname=c6401.ambari.apache.org&appId=HOST&*precision=*
> Exception thrown
> {code}
> {
> "exception": "BadRequestException",
> "message": "java.lang.Exception: precision should be seconds, minutes or hours",
> "javaClassName": "org.apache.hadoop.yarn.webapp.BadRequestException"
> }
> {code}



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

Mime
View raw message