You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/03/08 15:46:38 UTC

[jira] [Resolved] (AMBARI-9979) Oozie server start fails in non-root

     [ https://issues.apache.org/jira/browse/AMBARI-9979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-9979.
-------------------------------------
    Resolution: Fixed

Committed to trunk and branch-2.0.0

> Oozie server start fails in non-root
> ------------------------------------
>
>                 Key: AMBARI-9979
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9979
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
>     2015-03-08 13:32:24,327 - Error while executing command 'start':
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 214, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 60, in start
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 53, in configure
>         oozie(is_server=True)
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 101, in oozie
>         oozie_server_specific()
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 221, in oozie_server_specific
>         Execute (format("chown -R {oozie_user}:{user_group} {oozie_server_dir}"))
>       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 152, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 274, in action_run
>         raise ex
>     Fail: Execution of 'chown -R oozie:hadoop /usr/hdp/current/oozie-server/oozie-server' returned 1. chown: changing ownership of `/usr/hdp/current/oozie-server/oozie-server/webapps/oozie.war': Operation not permitted
>     chown: changing ownership of `/usr/hdp/current/oozie-server/oozie-server/webapps/docs': Operation not permitted
>     chown: changing ownership of `/usr/hdp/current/oozie-server/oozie-server/webapps/ext-2.2': Operation not permitted
>     chown: changing ownership of `/usr/hdp/current/oozie-server/oozie-server/webapps': Operation not permitted
>     chown: changing ownership of `/usr/hdp/current/oozie-server/oozie-server/conf': Operation not permitted
>     chown: changing ownership of `/usr/hdp/current/oozie-server/oozie-server': Operation not permitted
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)