Repository: ambari Updated Branches: refs/heads/branch-1.6.1 1a93b30d2 -> b7eb36d0c refs/heads/trunk c477ba061 -> 69fe4f67c
AMBARI-6341. Ambari creates a mysterious file /root/&1 (during bootstrap?) (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/69fe4f67 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/69fe4f67 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/69fe4f67 Branch: refs/heads/trunk Commit: 69fe4f67c774e07c2e6ecf1e9aadadb4725699ac Parents: c477ba0 Author: Andrew Onishuk <[email protected]> Authored: Tue Jul 1 21:45:38 2014 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Tue Jul 1 21:45:38 2014 +0300 ---------------------------------------------------------------------- ambari-agent/src/main/python/ambari_agent/PingPortListener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/69fe4f67/ambari-agent/src/main/python/ambari_agent/PingPortListener.py ---------------------------------------------------------------------- diff --git a/ambari-agent/src/main/python/ambari_agent/PingPortListener.py b/ambari-agent/src/main/python/ambari_agent/PingPortListener.py index afaa0ea..e15bdb2 100644 --- a/ambari-agent/src/main/python/ambari_agent/PingPortListener.py +++ b/ambari-agent/src/main/python/ambari_agent/PingPortListener.py @@ -26,7 +26,7 @@ import socket import subprocess logger = logging.getLogger() -FUSER_CMD = "fuser {0}/tcp 2>\&1 \| awk \'{1}\'" +FUSER_CMD = "fuser {0}/tcp 2>/dev/null | awk '{1}'" PSPF_CMD = "ps -fp {0}" PORT_IN_USE_MESSAGE = "Could not open port {0} because port already used by another process:\n{1}"
