ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMBARI-21116) Setting yarn.node-labels.fs-store.root-dir to a "path" changes the permission of the "root path"
Date Thu, 25 May 2017 12:00:08 GMT

    [ 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)

Mime
View raw message