> On Ноя. 18, 2016, 1:08 п.п., Andrew Onischuk wrote: > > ambari-agent/src/main/python/ambari_agent/AmbariAgent.py, line 59 > > <https://reviews.apache.org/r/53854/diff/3/?file=1566728#file1566728line59> > > > > This will most likely kill child processes started by agent like > > datanode/namenode etc. I think they are in the same process group. > > Can you please check?
Checked on Ubuntu and CentOS. DataNode, NameNode, etc. have init as a perent process with PPID 1. On ambari agent stop/restart they aren't killed - Dmytro ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53854/#review156296 ----------------------------------------------------------- On Ноя. 18, 2016, 1:05 п.п., Dmytro Sen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53854/ > ----------------------------------------------------------- > > (Updated Ноя. 18, 2016, 1:05 п.п.) > > > Review request for Ambari, Andrew Onischuk, Jonathan Hurley, and Vitalyi > Brodetskyi. > > > Bugs: AMBARI-18922 > https://issues.apache.org/jira/browse/AMBARI-18922 > > > Repository: ambari > > > Description > ------- > > Ambari agent auto-restart fails > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/AmbariAgent.py d701e49 > ambari-agent/src/main/python/ambari_agent/StatusCommandsExecutor.py 5d3607a > ambari-agent/src/test/python/ambari_agent/TestAmbariAgent.py 1be487c > > Diff: https://reviews.apache.org/r/53854/diff/ > > > Testing > ------- > > Unit tests passed > > > Thanks, > > Dmytro Sen > >