ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 37803: Ambari is overwriting ownership of yarn.local.dir with yarn:hadoop in Kerberized cluster
Date Fri, 28 Aug 2015 10:51:17 GMT


> On Aug. 27, 2015, 10:06 p.m., Robert Levas wrote:
> > ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py,
line 121
> > <https://reviews.apache.org/r/37803/diff/1-2/?file=1053327#file1053327line121>
> >
> >     It seems odd that this file is created in /var/lib/hadoop-yarn when it is really
an Ambari-related file.  Are we sure we want to go in this direction?  I thought it was more
appropriate to have it in the /var/lib/ambari-agent directory tree.
> 
> Ivan Kozlov wrote:
>     We had similar file location for NN format marker:
>     /var/lib/hdfs/namenode/formatted
>     But if we think we'd better use /var/lib/ambari-agent/ I will fix this

@Ivan, I don't think /var/lib/ambari-agent should be trashed with it, we should find more
precise path inside it maybe.
@Robert, also why do you think using yarn folder is bad, this actually indicates something
related to yarn itself, no?


- Andrew


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


On Aug. 27, 2015, 5:25 p.m., Ivan Kozlov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37803/
> -----------------------------------------------------------
> 
> (Updated Aug. 27, 2015, 5:25 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Jaimin Jetly, Robert Levas, and Vitalyi Brodetskyi.
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> PROBLEM: Ambari is overwriting ownership of yarn.local.dir with yarn:hadoop in Kerberized
cluster when it should be owned by running user . This happens at restart of a nodemanager
through Ambari. Only solution was to recreate yarn.local.dir at which point it makes correct
ownership of files. Restart via Ambari then overwrites
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
9857d03 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
30629be 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py 613ab69 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py 428655b 
> 
> Diff: https://reviews.apache.org/r/37803/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ivan Kozlov
> 
>


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