ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <>
Subject [jira] [Created] (AMBARI-14729) API does not return host component metrics (except for one host)
Date Tue, 19 Jan 2016 21:47:39 GMT
Siddharth Wagle created AMBARI-14729:

             Summary: API does not return host component metrics (except for one host)
                 Key: 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

API does not return metrics at the host component level (except for one host).

Make a metrics API against various hosts for a specific metric.
Example on a 3-node cluster:
Call 1:[1453147641,1453169241,15]

This returns the metrics on sid-ams-3.

Call 2:[1453147641,1453169241,15]

This returns no metrics data.

Call 3:[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

View raw message