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] [Created] (AMBARI-21115) Setting
yarn.node-labels.fs-store.root-dir to a "path" changes the permission of
the "root path"
Andrew Onischuk created AMBARI-21115:
----------------------------------------
Summary: 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)