ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 41686: Ambari Agent should not rely on CWD of user who started it
Date Wed, 23 Dec 2015 11:47:28 GMT

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

Ship it!


Ship It!

- Dmitro Lisnichenko


On Dec. 23, 2015, 1:40 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41686/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2015, 1:40 p.m.)
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message