[
https://issues.apache.org/jira/browse/AMBARI-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660975#comment-13660975
]
Tom Beerbower commented on AMBARI-2158:
---------------------------------------
Thanks Nate. I just updated the patch based on your comments.
--Tom
> 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
> Attachments: AMBARI-2158.patch
>
>
> 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