You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/12/20 13:59:00 UTC

[jira] [Commented] (AMBARI-22677) Don't call pprint.pformat unnecessarily in Ambari agent

    [ https://issues.apache.org/jira/browse/AMBARI-22677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298538#comment-16298538 ] 

Hudson commented on AMBARI-22677:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8537 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8537/])
AMBARI-22677. Don't call pprint.pformat unnecessarily in Ambari agent (amagyar: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4e731d31f7c59bceab3c91565686384645251546])
* (edit) ambari-agent/src/main/python/ambari_agent/alerts/ams_alert.py
* (edit) ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py
* (edit) ambari-agent/src/main/python/ambari_agent/ActionQueue.py
* (edit) ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
* (edit) ambari-agent/src/main/python/ambari_agent/PythonReflectiveExecutor.py
* (edit) ambari-agent/src/main/python/ambari_agent/security.py
* (edit) ambari-agent/src/main/python/ambari_agent/RecoveryManager.py
* (edit) ambari-agent/src/main/python/ambari_agent/DataCleaner.py
* (edit) ambari-agent/src/main/python/ambari_agent/Heartbeat.py
* (edit) ambari-agent/src/main/python/ambari_agent/LiveStatus.py
* (edit) ambari-agent/src/main/python/ambari_agent/StatusCommandsExecutor.py
* (edit) ambari-agent/src/main/python/ambari_agent/Controller.py
* (edit) ambari-agent/src/main/python/ambari_agent/alerts/metric_alert.py
* (edit) ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py


> Don't call pprint.pformat unnecessarily in Ambari agent
> -------------------------------------------------------
>
>                 Key: AMBARI-22677
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22677
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-agent
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-22677-trunk.patch
>
>
> The pprint.pformat is relatively slow and ambari agent calls it frequently just to generate debug log.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)