-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59535/
-----------------------------------------------------------

(Updated May 24, 2017, 6:55 p.m.)


Review request for Ambari and Mahadev Konar.


Bugs: AMBARI-21116
    https://issues.apache.org/jira/browse/AMBARI-21116


Repository: ambari


Description
-------

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


Diffs
-----

  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
 3e5c51d 


Diff: https://reviews.apache.org/r/59535/diff/1/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to