You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/02/17 22:06:10 UTC
[11/50] [abbrv] ambari git commit: AMBARI-20026 Ambari server start
returns prematurely before extracting views. (dsen)
AMBARI-20026 Ambari server start returns prematurely before extracting views. (dsen)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e890f01d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e890f01d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e890f01d
Branch: refs/heads/branch-feature-AMBARI-12556
Commit: e890f01d0f562b81489c44fea9596f3455d8d9bc
Parents: d75756e
Author: Dmytro Sen <ds...@apache.org>
Authored: Wed Feb 15 19:05:00 2017 +0200
Committer: Dmytro Sen <ds...@apache.org>
Committed: Wed Feb 15 19:05:00 2017 +0200
----------------------------------------------------------------------
ambari-server/src/main/python/ambari_server_main.py | 5 -----
1 file changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/e890f01d/ambari-server/src/main/python/ambari_server_main.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server_main.py b/ambari-server/src/main/python/ambari_server_main.py
index 7a21333..4667899 100644
--- a/ambari-server/src/main/python/ambari_server_main.py
+++ b/ambari-server/src/main/python/ambari_server_main.py
@@ -217,15 +217,10 @@ def wait_for_server_start(pidFile, scmStatus):
# looking_for_pid() might return partrial pid list on slow hardware
for i in range(1, SERVER_START_RETRIES):
pids = looking_for_pid(SERVER_SEARCH_PATTERN, SERVER_START_TIMEOUT)
-
- sys.stdout.write('\n')
- sys.stdout.flush()
-
if save_main_pid_ex(pids, pidFile, locate_all_file_paths('sh', '/bin') +
locate_all_file_paths('bash', '/bin') +
locate_all_file_paths('dash', '/bin'), IS_FOREGROUND):
server_started = True
- sys.stdout.write("Server PID determined " + AMBARI_SERVER_STARTED_SUCCESS_MSG + "\n")
break
else:
sys.stdout.write("Unable to determine server PID. Retrying...\n")