[ 
https://issues.apache.org/jira/browse/AMBARI-9979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352099#comment-14352099
 ] 

Hudson commented on AMBARI-9979:
--------------------------------

ABORTED: Integrated in Ambari-branch-2.0.0 #29 (See 
[https://builds.apache.org/job/Ambari-branch-2.0.0/29/])
AMBARI-9979. Oozie server start fails in non-root (aonishuk) (aonishuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=71c9193602731020764eea518a0278c80a34c0da)
* ambari-agent/src/test/python/resource_management/TestUserResource.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py
* 
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py


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

Reply via email to