ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11242) Every minute Ambari agent freezes for 10-15 while executing status commands
Date Tue, 19 May 2015 19:00:03 GMT

    [ 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)

Mime
View raw message