Tom Beerbower created AMBARI-2158:
-------------------------------------

             Summary: Certain queries with metrics takes a long time (3 minutes 
on a 450-node cluster)
                 Key: AMBARI-2158
                 URL: https://issues.apache.org/jira/browse/AMBARI-2158
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower


On a 450-node cluster, the following query takes 3 minutes to respond:
* 
/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles,components/host_components/metrics/jvm/memHeapUsedM,components/host_components/metrics/jvm/memHeapCommittedM,components/host_components/metrics/mapred/jobtracker/trackers_decommissioned

The following query (only one metric) took 2.7 minutes:
* 
/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles,components/host_components/metrics/jvm/memHeapUsedM

Note that the same query without the metrics only takes about 4 seconds:
* 
/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to