Forráskód Böngészése

AMBARI-9851 "ambari-server start command" hangs if was executed via ssh command (dsen)

Dmytro Sen 10 éve
szülő
commit
3ef3607a10
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      ambari-server/src/main/python/ambari_server_main.py

+ 2 - 1
ambari-server/src/main/python/ambari_server_main.py

@@ -268,7 +268,8 @@ def wait_for_server_start(pidFile, scmStatus):
     raise FatalException(-1, AMBARI_SERVER_DIE_MSG.format(exitcode, configDefaults.SERVER_OUT_FILE))
   else:
     save_main_pid_ex(pids, pidFile, [locate_file('sh', '/bin'),
-                                     locate_file('bash', '/bin')], True)
+                                     locate_file('bash', '/bin'),
+                                     locate_file('dash', '/bin')], True)
 
 
 def server_process_main(options, scmStatus=None):