You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/05/25 12:00:08 UTC
[jira] [Comment Edited] (AMBARI-21116) 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-21116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024613#comment-16024613 ]
Doroszlai, Attila edited comment on AMBARI-21116 at 5/25/17 11:59 AM:
----------------------------------------------------------------------
[~aonishuk], can you please change python unit test as well? It's [failing|https://builds.apache.org/job/Ambari-trunk-Commit/7531/consoleText] since this commit.
{noformat}
FAIL: test_configure_default (test_historyserver.TestHistoryServer)
FAIL: test_configure_secured (test_historyserver.TestHistoryServer)
FAIL: test_start_default (test_historyserver.TestHistoryServer)
FAIL: test_start_secured (test_historyserver.TestHistoryServer)
{noformat}
was (Author: adoroszlai):
[~aonishuk], can you please change python unit test as well, it's [failing|https://builds.apache.org/job/Ambari-trunk-Commit/7531/consoleText] since this comit?
{noformat}
FAIL: test_configure_default (test_historyserver.TestHistoryServer)
FAIL: test_configure_secured (test_historyserver.TestHistoryServer)
FAIL: test_start_default (test_historyserver.TestHistoryServer)
FAIL: test_start_secured (test_historyserver.TestHistoryServer)
{noformat}
> Setting yarn.node-labels.fs-store.root-dir to a "path" changes the permission of the "root path"
> ------------------------------------------------------------------------------------------------
>
> Key: AMBARI-21116
> URL: https://issues.apache.org/jira/browse/AMBARI-21116
> Project: Ambari
> Issue Type: Bug
> Reporter: Sumana Sathish
> Assignee: Andrew Onischuk
> Priority: Critical
> Fix For: 2.5.2
>
>
> 1. Set the following configs to run nodeLabels test via Ambari Rest Call
> {code}
> 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}
> {code}
> 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] from [drwxrwxrwx - hdfs hadoop] causing other tests to fail since it cannot access /tmp
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)