You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2017/05/24 18:43:04 UTC

[jira] [Updated] (AMBARI-21115) Setting yarn.node-labels.fs-store.root-dir to a "path" changes the permission of the "root path"

     [ https://issues.apache.org/jira/browse/AMBARI-21115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk updated AMBARI-21115:
-------------------------------------
    Attachment: AMBARI-21115.patch

> Setting yarn.node-labels.fs-store.root-dir to a "path" changes the permission of the "root path"
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21115
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21115
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.1
>
>         Attachments: AMBARI-21115.patch
>
>
> 1\. Set the following configs to run nodeLabels test via Ambari Rest Call
>     
>     
>     
>      yarnProperties = {'yarn.acl.enable': 'true',
>                           'yarn.node-labels.enabled' : "True",
>                           'yarn.node-labels.fs-store.root-dir': NODE_LABEL_STORE_DIR,
>                           'yarn.admin.acl': yarn_user + ',' + qa_user}
>     
> where NODE_LABEL_STORE_DIR = "/tmp/node-labels"  
> 2Restart ResourceManager and NodeManagers via ambari  
> 3\. After running these commands, /tmp directory's permission changes to  
> [drwx------ - yarn hadoop]BUG/drwx-
> -----+++-+yarn+++hadoop) from [drwxrwxrwx - hdfs hadoop drwxrwxrwx+++-+hdfs+++hadoop) causing other tests to
> fail since it cannot access /tmp



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)