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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

2015-02-03 14:14:21,854 - Error while executing command 'start':
    Traceback (most recent call last):
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 184, in execute
        method(env)
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/nodemanager.py",
 line 58, in start
        self.configure(env) # FOR SECURITY
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/nodemanager.py",
 line 45, in configure
        yarn(name="nodemanager")
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py",
 line 78, in yarn
        only_if=format("test -d {directory}"))
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
line 148, in __init__
        self.env.run()
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 151, in run
        self.run_action(resource, action)
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 117, in run_action
        provider_action()
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 276, in action_run
        raise ex
    Fail: Execution of 'chown -R ambari-qa 
/hadoop/yarn/local/usercache/ambari-qa' returned 1. chown: cannot read 
directory `/hadoop/yarn/local/usercache/ambari-qa': Permission denied


Diffs
-----

  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
 10012b2 
  ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py a3c88d3 

Diff: https://reviews.apache.org/r/30560/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to