Repository: ambari Updated Branches: refs/heads/trunk fb1c95f71 -> 341ff3ec6
AMBARI-20191. Remove command duplicate from log_process_information.(vbrodetskyi) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/341ff3ec Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/341ff3ec Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/341ff3ec Branch: refs/heads/trunk Commit: 341ff3ec678e68115643570c5ce1bd086782d431 Parents: fb1c95f Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com> Authored: Sat Feb 25 13:56:48 2017 +0200 Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com> Committed: Sat Feb 25 13:56:48 2017 +0200 ---------------------------------------------------------------------- .../libraries/functions/log_process_information.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/341ff3ec/ambari-common/src/main/python/resource_management/libraries/functions/log_process_information.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/log_process_information.py b/ambari-common/src/main/python/resource_management/libraries/functions/log_process_information.py index dff0474..91717d3 100644 --- a/ambari-common/src/main/python/resource_management/libraries/functions/log_process_information.py +++ b/ambari-common/src/main/python/resource_management/libraries/functions/log_process_information.py @@ -31,7 +31,7 @@ def log_process_information(logger): if OSCheck.is_windows_family(): cmd_list = ["WMIC path win32_process get Caption,Processid,Commandline", "netstat -an"] else: - cmd_list = ["export COLUMNS=9999 ; ps faux", "netstat -tulpn", "ps auxf"] + cmd_list = ["export COLUMNS=9999 ; ps faux", "netstat -tulpn"] shell_runner = shellRunner()