You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by di...@apache.org on 2016/12/13 21:20:45 UTC
ambari git commit: AMBARI-19178 HostCleanup can't list process
details on RHEL7 (dili)
Repository: ambari
Updated Branches:
refs/heads/trunk 176a1c6ba -> 2fee4286b
AMBARI-19178 HostCleanup can't list process details on RHEL7 (dili)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2fee4286
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2fee4286
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2fee4286
Branch: refs/heads/trunk
Commit: 2fee4286b69153b6f7727bc96bfe13764bebaadc
Parents: 176a1c6
Author: Di Li <di...@apache.org>
Authored: Tue Dec 13 16:20:27 2016 -0500
Committer: Di Li <di...@apache.org>
Committed: Tue Dec 13 16:20:27 2016 -0500
----------------------------------------------------------------------
ambari-agent/src/main/python/ambari_agent/HostCleanup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2fee4286/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/HostCleanup.py b/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
index 87cd1b0..7ee3b1c 100644
--- a/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
+++ b/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
@@ -373,8 +373,8 @@ class HostCleanup:
def do_kill_processes_by_identifier(self, identifierList):
pidList = []
- cmd = "ps aux"
- (returncode, stdoutdata, stderrdata) = self.run_os_command(cmd, True)
+ cmd = "ps auxww"
+ (returncode, stdoutdata, stderrdata) = self.run_os_command(cmd)
if 0 == returncode and stdoutdata:
lines = stdoutdata.split('\n')