Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11FA010A5A for ; Tue, 19 May 2015 19:00:04 +0000 (UTC) Received: (qmail 67669 invoked by uid 500); 19 May 2015 19:00:03 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 67641 invoked by uid 500); 19 May 2015 19:00:03 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 67349 invoked by uid 99); 19 May 2015 19:00:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 19:00:03 +0000 Date: Tue, 19 May 2015 19:00:03 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11242) Every minute Ambari agent freezes for 10-15 while executing status commands 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-11242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551019#comment-14551019 ] Hudson commented on AMBARI-11242: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #2647 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2647/]) AMBARI-11242. Every minute Ambari agent freezes for 10-15 while executing status commands (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=21fde676532f4073e7e089e8e1780412f827a949) * ambari-agent/src/test/python/ambari_agent/TestPythonExecutor.py * ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py * ambari-agent/src/main/python/ambari_agent/PythonReflectiveExecutor.py * ambari-agent/src/main/python/ambari_agent/PythonExecutor.py * ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py * ambari-common/src/main/python/resource_management/libraries/script/script.py * ambari-common/src/main/python/resource_management/libraries/functions/check_process_status.py > Every minute Ambari agent freezes for 10-15 while executing status commands > --------------------------------------------------------------------------- > > Key: AMBARI-11242 > URL: https://issues.apache.org/jira/browse/AMBARI-11242 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.1.0 > > > Status commands and security status commands pack is executed every minute and > takes ~15 seconds. While other tasks just hangs. This is very confusing for > the user. > The way optimize status commands is to execute them reflexively, since > creating the processes itself takes a lot of time (~50 processes are created > each pack). > This reduces time of status commands to ~1.5seconds -- This message was sent by Atlassian JIRA (v6.3.4#6332)