Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 4e6489742 -> 2b6c15af9


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/2b6c15af
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2b6c15af
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2b6c15af

Branch: refs/heads/branch-2.5
Commit: 2b6c15af9ab254d087b5e2068e1ab192b022fcbb
Parents: 4e64897
Author: Vitaly Brodetskyi <[email protected]>
Authored: Sat Feb 25 13:54:39 2017 +0200
Committer: Vitaly Brodetskyi <[email protected]>
Committed: Sat Feb 25 13:54:39 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/2b6c15af/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()
 

Reply via email to