From ambari-dev-return-14004-apmail-incubator-ambari-dev-archive=incubator.apache.org@incubator.apache.org Wed Sep 4 00:25:52 2013 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 8B9D0107F6 for ; Wed, 4 Sep 2013 00:25:52 +0000 (UTC) Received: (qmail 49779 invoked by uid 500); 4 Sep 2013 00:25:52 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 49747 invoked by uid 500); 4 Sep 2013 00:25:52 -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 49700 invoked by uid 99); 4 Sep 2013 00:25:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 00:25:51 +0000 Date: Wed, 4 Sep 2013 00:25:51 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-3086) Services API call with metrics takes 30% longer with all services started 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-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srimanth Gunturi updated AMBARI-3086: ------------------------------------- Attachment: Screen Shot 2013-09-03 at 5.21.43 PM.png > Services API call with metrics takes 30% longer with all services started > ------------------------------------------------------------------------- > > Key: AMBARI-3086 > URL: https://issues.apache.org/jira/browse/AMBARI-3086 > Project: Ambari > Issue Type: Task > Components: controller > Affects Versions: 1.4.0 > Reporter: Srimanth Gunturi > Labels: performance > Attachments: Screen Shot 2013-09-03 at 5.21.43 PM.png > > > I stopped all the services and started invoking the /services endpoint. While that was looping, I invoked the 'Start all services' call. The time being taken by the same call increased now by over 30%. > The exact /services call made was > {noformat} > /api/v1/clusters/${cluster}/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,components/host_components/metrics/cpu/cpu_wio,components/host_components/metrics/rpc/RpcQueueTime_avg_time,components/host_components/metrics/flume/flume,components/host_components/metrics/yarn/Queue > {noformat} > Time measurements in milliseconds: > {noformat} > /services All Stopped All Started > Total Time 2100.704545 2926.313725 > Latency Time 2048.295455 2838.764706 > Transfer Time 52.40909091 87.54901961 > Data size (bytes) 825555 1371548 > {noformat} -- 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