Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C792D760 for ; Fri, 17 May 2013 19:27:16 +0000 (UTC) Received: (qmail 60111 invoked by uid 500); 17 May 2013 19:27:16 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 60071 invoked by uid 500); 17 May 2013 19:27:16 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 59962 invoked by uid 99); 17 May 2013 19:27:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 19:27:15 +0000 Date: Fri, 17 May 2013 19:27:15 +0000 (UTC) From: "Tom Beerbower (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-2158) Certain queries with metrics takes a long time (3 minutes on a 450-node cluster) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660973#comment-13660973 ] Tom Beerbower commented on AMBARI-2158: --------------------------------------- Updated the patch to account for the above comment. > 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