You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/06/06 18:36:01 UTC

[jira] [Commented] (AMBARI-11754) YARN local usercache is chown'd as user YARN when cluster is in secure mode

    [ https://issues.apache.org/jira/browse/AMBARI-11754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575813#comment-14575813 ] 

Hudson commented on AMBARI-11754:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2836 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2836/])
AMBARI-11754. YARN local usercache is chown'd as user YARN when cluster is in secure mode (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2bfca09c3e8a4d989e36aeddda3e213825c91e59)
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py


> YARN local usercache is chown'd as user YARN when cluster is in secure mode
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-11754
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11754
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> 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¹} 
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)