ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy" <mpapyrkovs...@hortonworks.com>
Subject Re: Review Request 35175: YARN local usercache is chown'd as user YARN when cluster is in secure mode
Date Sat, 06 Jun 2015 13:59:35 GMT

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

Ship it!


Ship It!

- Myroslav Papirkovskyy


On Червень 6, 2015, 4:46 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35175/
> -----------------------------------------------------------
> 
> (Updated Червень 6, 2015, 4:46 після полудня)
> 
> 
> Review request for Ambari and Myroslav Papirkovskyy.
> 
> 
> Bugs: AMBARI-11754
>     https://issues.apache.org/jira/browse/AMBARI-11754
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> PROBLEM: When restarting the NodeManager via Ambari, the Ambari agent conducts
> a recursive chown on the YARN local cache configuration directory.
> 
> Something like this: chown -R yarn:hadoop /hadoop/yarn/local
> 
> I have seen this in Ambari 2.0 and Ambari 2.0.1 - where 2.0.1 was upgraded
> from 2.0
> 
> BUSINESS IMPACT: The problem is that user directories exist under
> /hadoop/yarn/local/usercache/<username> and subsequent containers will not
> have rights to the user's directory after the NM restart, in a secure cluster.
> 
> STEPS TO REPRODUCE: N/A
> 
> SUPPORT ANALYSIS: As seen in the Ambari logs for starting the NM:
> 
>     
>     
>     u"Directory['/hadoop/yarn/local']" {'group': 'hadoop', 'recursive': True, 
>     'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn¹}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
e3019eb 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py 2b14923 
> 
> Diff: https://reviews.apache.org/r/35175/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


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