-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31584/
-----------------------------------------------------------

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-9851
    https://issues.apache.org/jira/browse/AMBARI-9851


Repository: ambari


Description
-------

When executing ambari-server start command via ssh, process hangs.
Reproducible only when executing ambari-server start without login only on 
Ubuntu
andrew@pc:~/vagrant/ubuntu12.4$ ssh -i ../insecure_private_key root@u1201 
"ambari-server start"
Using python  /usr/bin/python2.7
Starting ambari-server
Ambari Server running with 'root' privileges.
About to start PostgreSQL
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.

User need to drop ssh connection afterwards.
This affects our QA automation tests, because we need to create workaround for 
it.
Per my investigations, in tests we can now make something like:
ssh root@host "ambari-server start < /dev/null > /tmp/ambari-start-log 2>&1 &"
But this will breaks our ability for easily checking outputs of ambari-server
We had similar bug before, but for different OS


Diffs
-----

  ambari-server/src/main/python/ambari_server_main.py 8ff4a72 

Diff: https://reviews.apache.org/r/31584/diff/


Testing
-------

all tests passed locally


Thanks,

Dmytro Sen

Reply via email to