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

Hadoop QA commented on AMBARI-14729:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12783416/AMBARI-14729-2.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/4999//console

This message is automatically generated.

> API does not return host component metrics (except for one host)
> ----------------------------------------------------------------
>
>                 Key: AMBARI-14729
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14729
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14729-2.patch, AMBARI-14729.patch
>
>
> API does not return metrics at the host component level (except for one host).
> STR.
> Make a metrics API against various hosts for a specific metric.
> Example on a 3-node cluster:
> Call 1: 
> http://172.22.89.227:8080/api/v1/clusters/c1/hosts/sid-ams-3.novalocal/host_components/DATANODE?fields=metrics/load/load_five[1453147641,1453169241,15]
> This returns the metrics on sid-ams-3.
> Call 2: 
> http://172.22.89.227:8080/api/v1/clusters/c1/hosts/sid-ams-2.novalocal/host_components/DATANODE?fields=metrics/load/load_five[1453147641,1453169241,15]
> This returns no metrics data.
> Call 3: 
> http://172.22.89.227:8080/api/v1/clusters/c1/hosts/sid-ams-1.novalocal/host_components/DATANODE?fields=metrics/load/load_five[1453147641,1453169241,15]
> This returns no metrics data.
> The example above is for a system metric, but the same behavior is exhibited 
> for service metrics.
> For any given host component metric, only one of the hosts returns any 
> metric.  The *first host that you make a query against* will return the 
> metrics data, but none of the other hosts.
> This is because of the cache implementation.



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

Reply via email to