[
https://issues.apache.org/jira/browse/AMBARI-9451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-9451.
-------------------------------------
Resolution: Fixed
Committed to trunk
> Non-root: Nodemanager start fails in secured mode
> -------------------------------------------------
>
> Key: AMBARI-9451
> URL: https://issues.apache.org/jira/browse/AMBARI-9451
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.0.0
>
>
> 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
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)