-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41686/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-14199
https://issues.apache.org/jira/browse/AMBARI-14199
Repository: ambari
Description
-------
When starting, the Ambari agent does not cd to a sane directory, but relies on
the CWD of the user who started the process either through `/etc/init.d
/ambari-agent`, or `ambari-agent start`.
The ambari-agent should cd to a sane local directory such as AGENT_TMP_DIR
prior to starting. A custom reported issues where their CWD was on an NFS
mount when the agent was started, and this caused the agent to die when the
auto mounted directory was unmounted.
Diffs
-----
ambari-agent/conf/unix/ambari-agent c0760ec
Diff: https://reviews.apache.org/r/41686/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk