[jira] [Commented] (AMBARI-21249) Empty precision query parameter throws an error while fetching metrics from AMS.

2017-06-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-21249:
-

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7660 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/7660/])
AMBARI-21249 : Empty precision query parameter throws an error while (avijayan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=7a050b0521db706d2e5622a611718c283c5331fc])
* (edit) 
ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/Precision.java


> 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
>
> Attachments: AMBARI-21249.patch
>
>
> GET request
> http://c6401.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=mem_free=c6401.ambari.apache.org=HOST=
> 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)


[jira] [Commented] (AMBARI-21249) Empty precision query parameter throws an error while fetching metrics from AMS.

2017-06-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-21249:
-

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1618 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1618/])
AMBARI-21249 : Empty precision query parameter throws an error while (avijayan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=c95ce6caa9a6d7877e3e895d1ebf75759f1f1ee3])
* (edit) 
ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/Precision.java


> 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
>
> Attachments: AMBARI-21249.patch
>
>
> GET request
> http://c6401.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=mem_free=c6401.ambari.apache.org=HOST=
> 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)


[jira] [Commented] (AMBARI-21249) Empty precision query parameter throws an error while fetching metrics from AMS.

2017-06-15 Thread Dmytro Sen (JIRA)

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

Dmytro Sen commented on AMBARI-21249:
-

+1

> 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
>
> Attachments: AMBARI-21249.patch
>
>
> GET request
> http://c6401.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=mem_free=c6401.ambari.apache.org=HOST=
> 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)


[jira] [Commented] (AMBARI-21249) Empty precision query parameter throws an error while fetching metrics from AMS.

2017-06-14 Thread Siddharth Wagle (JIRA)

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

Siddharth Wagle commented on AMBARI-21249:
--

Can you use StringUtils instead?

+1 for the fix.

> 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
>
> Attachments: AMBARI-21249.patch
>
>
> GET request
> http://c6401.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=mem_free=c6401.ambari.apache.org=HOST=
> 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)


[jira] [Commented] (AMBARI-21249) Empty precision query parameter throws an error while fetching metrics from AMS.

2017-06-14 Thread Aravindan Vijayan (JIRA)

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

Aravindan Vijayan commented on AMBARI-21249:


[~swagle], [~dsen] Can you review this simple patch?

> 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
>
> Attachments: AMBARI-21249.patch
>
>
> GET request
> http://c6401.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=mem_free=c6401.ambari.apache.org=HOST=
> 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)