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

Hudson commented on AMBARI-9983:
--------------------------------

SUCCESS: Integrated in Ambari-branch-2.0.0 #32 (See 
[https://builds.apache.org/job/Ambari-branch-2.0.0/32/])
AMBARI-9983. OOZIE could not start on CentOS6 (UMASK-027)  (aonishuk) 
(aonishuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e1dab53355a548e2f4fd92b9f5e0f7bef1c62923)
* 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 could not start on CentOS6 (UMASK-027) 
> ---------------------------------------------
>
>                 Key: AMBARI-9983
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9983
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> STR:  
> 1)Deploy cluster with all services, except kafka (UMASK-027)
> Expected result:  
> All services are started.
> Actual result:  
> OOZIE could not start
>     
>     
>     
>     stderr:   /var/lib/ambari-agent/data/errors-184.txt
>     
>     2015-03-09 02:11:44,118 - 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 222, in 
>     
>     oozie_server_specific
>         sudo=True
>       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: cannot access 
>     
>     `hadoop': No such file or directory
>     stdout:   /var/lib/ambari-agent/data/output-184.txt
>     
>     2015-03-09 02:10:56,629 - u"Group['hadoop']" {'ignore_failures': False}
>     2015-03-09 02:10:56,630 - Modifying group hadoop
>     2015-03-09 02:10:56,732 - u"Group['users']" {'ignore_failures': False}
>     2015-03-09 02:10:56,733 - Modifying group users
>     2015-03-09 02:10:56,820 - u"Group['knox']" {'ignore_failures': False}
>     2015-03-09 02:10:56,821 - Modifying group knox
>     2015-03-09 02:10:56,905 - u"Group['spark']" {'ignore_failures': False}
>     2015-03-09 02:10:56,905 - Modifying group spark
>     2015-03-09 02:10:57,071 - u"User['hive']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,072 - Modifying user hive
>     2015-03-09 02:10:57,117 - u"User['oozie']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'users']}
>     2015-03-09 02:10:57,118 - Modifying user oozie
>     2015-03-09 02:10:57,165 - u"User['ambari-qa']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'users']}
>     2015-03-09 02:10:57,166 - Modifying user ambari-qa
>     2015-03-09 02:10:57,214 - u"User['flume']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,215 - Modifying user flume
>     2015-03-09 02:10:57,264 - u"User['hdfs']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,264 - Modifying user hdfs
>     2015-03-09 02:10:57,312 - u"User['knox']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,313 - Modifying user knox
>     2015-03-09 02:10:57,363 - u"User['storm']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,363 - Modifying user storm
>     2015-03-09 02:10:57,414 - u"User['spark']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,415 - Modifying user spark
>     2015-03-09 02:10:57,464 - u"User['mapred']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,464 - Modifying user mapred
>     2015-03-09 02:10:57,514 - u"User['hbase']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,515 - Modifying user hbase
>     2015-03-09 02:10:57,564 - u"User['tez']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'users']}
>     2015-03-09 02:10:57,685 - Modifying user tez
>     2015-03-09 02:10:57,736 - u"User['zookeeper']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,736 - Modifying user zookeeper
>     2015-03-09 02:10:57,785 - u"User['false']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,785 - Modifying user false
>     2015-03-09 02:10:57,833 - u"User['falcon']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,834 - Modifying user falcon
>     2015-03-09 02:10:57,884 - u"User['sqoop']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,885 - Modifying user sqoop
>     2015-03-09 02:10:57,934 - u"User['yarn']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,934 - Modifying user yarn
>     2015-03-09 02:10:57,983 - u"User['hcat']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:57,984 - Modifying user hcat
>     2015-03-09 02:10:58,032 - u"User['ams']" {'gid': 'hadoop', 
> 'ignore_failures': False, 'groups': [u'hadoop']}
>     2015-03-09 02:10:58,033 - Modifying user ams
>     2015-03-09 02:10:58,084 - 
> u"File['/var/lib/ambari-agent/data/tmp/changeUid.sh']" {'content': StaticFile
>     
>     ('changeToSecureUid.sh'), 'mode': 0555}
>     2015-03-09 02:10:58,380 - 
> u"Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa 
> /tmp/hadoop-ambari-
>     
>     
> qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa']"
>  {'not_if': '(test $(id -u ambari-qa) 
>     
>     -gt 1000) || (false)'}
>     2015-03-09 02:10:58,427 - Skipping 
> u"Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa 
> /tmp/hadoop-ambari-
>     
>     
> qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa']"
>  due to not_if
>     2015-03-09 02:10:58,427 - u"Directory['/grid/0/hadoop/hbase']" {'owner': 
> 'hbase', 'recursive': True, 'mode': 0775, 
>     
>     'cd_access': 'a'}
>     2015-03-09 02:10:58,960 - 
> u"File['/var/lib/ambari-agent/data/tmp/changeUid.sh']" {'content': StaticFile
>     
>     ('changeToSecureUid.sh'), 'mode': 0555}
>     2015-03-09 02:10:59,251 - 
> u"Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase 
>     
>     
> /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/0/hadoop/hbase']" 
> {'not_if': '(test $(id -u hbase) -gt 1000) || 
>     
>     (false)'}
>     2015-03-09 02:10:59,296 - Skipping 
> u"Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase 
>     
>     
> /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/0/hadoop/hbase']" 
> due to not_if
>     2015-03-09 02:10:59,296 - u"Group['hdfs']" {'ignore_failures': False}
>     2015-03-09 02:10:59,297 - Modifying group hdfs
>     2015-03-09 02:10:59,424 - u"User['hdfs']" {'ignore_failures': False, 
> 'groups': [u'hadoop', 'users', 'hdfs', 'hadoop', 
>     
>     u'hdfs']}
>     2015-03-09 02:10:59,424 - Modifying user hdfs
>     2015-03-09 02:10:59,473 - u"Directory['/etc/hadoop']" {'mode': 0755}
>     2015-03-09 02:10:59,629 - u"Directory['/etc/hadoop/conf.empty']" 
> {'owner': 'hdfs', 'group': 'hadoop', 'recursive': True}
>     2015-03-09 02:10:59,781 - u"Link['/etc/hadoop/conf']" {'not_if': 'ls 
> /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
>     2015-03-09 02:10:59,830 - Skipping u"Link['/etc/hadoop/conf']" due to 
> not_if
>     2015-03-09 02:10:59,845 - u"File['/etc/hadoop/conf/hadoop-env.sh']" 
> {'content': InlineTemplate(...), 'owner': 'hdfs', 
>     
>     'group': 'hadoop'}
>     2015-03-09 02:11:00,108 - u"Execute['('setenforce', '0')']" {'sudo': 
> True, 'only_if': 'test -f /selinux/enforce'}
>     2015-03-09 02:11:00,178 - Skipping u"Execute['('setenforce', '0')']" due 
> to only_if
>     2015-03-09 02:11:00,178 - u"Directory['/grid/0/log/hadoop']" {'owner': 
> 'root', 'mode': 0775, 'group': 'hadoop', 
>     
>     'recursive': True, 'cd_access': 'a'}
>     2015-03-09 02:11:00,694 - u"Directory['/var/run/hadoop']" {'owner': 
> 'root', 'group': 'root', 'recursive': True, 
>     
>     'cd_access': 'a'}
>     2015-03-09 02:11:01,148 - u"Directory['/tmp/hadoop-hdfs']" {'owner': 
> 'hdfs', 'recursive': True, 'cd_access': 'a'}
>     2015-03-09 02:11:01,502 - 
> u"File['/etc/hadoop/conf/commons-logging.properties']" {'content': 
> Template('commons-
>     
>     logging.properties.j2'), 'owner': 'hdfs'}
>     2015-03-09 02:11:01,753 - u"File['/etc/hadoop/conf/health_check']" 
> {'content': Template('health_check-v2.j2'), 'owner': 
>     
>     'hdfs'}
>     2015-03-09 02:11:01,992 - u"File['/etc/hadoop/conf/log4j.properties']" 
> {'content': '...', 'owner': 'hdfs', 'group': 
>     
>     'hadoop', 'mode': 0644}
>     2015-03-09 02:11:02,252 - 
> u"File['/etc/hadoop/conf/hadoop-metrics2.properties']" {'content': 
> Template('hadoop-
>     
>     metrics2.properties.j2'), 'owner': 'hdfs'}
>     2015-03-09 02:11:02,500 - 
> u"File['/etc/hadoop/conf/task-log4j.properties']" {'content': 
> StaticFile('task-
>     
>     log4j.properties'), 'mode': 0755}
>     2015-03-09 02:11:02,983 - u"HdfsDirectory['/user/oozie']" 
> {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': 
>     
>     '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 
> 0775, 'owner': 'oozie', 'bin_dir': 
>     
>     '/usr/hdp/current/hadoop-client/bin', 'action': ['create']}
>     2015-03-09 02:11:02,985 - u"Execute['hadoop --config /etc/hadoop/conf fs 
> -mkdir -p /user/oozie && hadoop --config 
>     
>     /etc/hadoop/conf fs -chmod  775 /user/oozie && hadoop --config 
> /etc/hadoop/conf fs -chown  oozie /user/oozie']" {'not_if': 
>     
>     "ambari-sudo.sh su hdfs -l -s /bin/bash -c 'hadoop --config 
> /etc/hadoop/conf fs -ls /user/oozie'", 'user': 'hdfs', 'path': 
>     
>     ['/usr/hdp/current/hadoop-client/bin']}
>     2015-03-09 02:11:14,914 - u"Directory['/etc/oozie/conf']" {'owner': 
> 'oozie', 'group': 'hadoop', 'recursive': True}
>     2015-03-09 02:11:15,076 - u"XmlConfig['oozie-site.xml']" {'group': 
> 'hadoop', 'conf_dir': '/etc/oozie/conf', 'mode': 0664, 
>     
>     'configuration_attributes': {}, 'owner': 'oozie', 'configurations': ...}
>     2015-03-09 02:11:15,098 - Generating config: 
> /etc/oozie/conf/oozie-site.xml
>     2015-03-09 02:11:15,098 - u"File['/etc/oozie/conf/oozie-site.xml']" 
> {'owner': 'oozie', 'content': InlineTemplate(...), 
>     
>     'group': 'hadoop', 'mode': 0664, 'encoding': 'UTF-8'}
>     2015-03-09 02:11:15,332 - Writing 
> u"File['/etc/oozie/conf/oozie-site.xml']" because contents don't match
>     2015-03-09 02:11:15,490 - Changing permission for 
> /etc/oozie/conf/oozie-site.xml from 644 to 664
>     2015-03-09 02:11:15,543 - u"File['/etc/oozie/conf/oozie-env.sh']" 
> {'content': InlineTemplate(...), 'owner': 'oozie'}
>     2015-03-09 02:11:15,727 - Writing u"File['/etc/oozie/conf/oozie-env.sh']" 
> because contents don't match
>     2015-03-09 02:11:15,887 - 
> u"File['/etc/oozie/conf/oozie-log4j.properties']" {'content': '...', 'owner': 
> 'oozie', 'group': 
>     
>     'hadoop', 'mode': 0644}
>     2015-03-09 02:11:16,144 - u"File['/etc/oozie/conf/adminusers.txt']" 
> {'content': Template('adminusers.txt.j2'), 'owner': 
>     
>     'oozie', 'group': 'hadoop', 'mode': 0644}
>     2015-03-09 02:11:16,398 - u"File['/etc/oozie/conf/hadoop-config.xml']" 
> {'owner': 'oozie', 'group': 'hadoop'}
>     2015-03-09 02:11:16,612 - u"File['/etc/oozie/conf/oozie-default.xml']" 
> {'owner': 'oozie', 'group': 'hadoop'}
>     2015-03-09 02:11:16,817 - u"Directory['/etc/oozie/conf/action-conf']" 
> {'owner': 'oozie', 'group': 'hadoop'}
>     2015-03-09 02:11:16,983 - u"File['/etc/oozie/conf/action-conf/hive.xml']" 
> {'owner': 'oozie', 'group': 'hadoop'}
>     2015-03-09 02:11:17,190 - u"File['/var/run/oozie/oozie.pid']" {'action': 
> ['delete'], 'not_if': 'ls {pid_file} >/dev/null 
>     
>     2>&1 && !(ps `cat {pid_file}` >/dev/null 2>&1)'}
>     2015-03-09 02:11:17,330 - 
> u"Directory['/usr/hdp/current/oozie-server//var/tmp/oozie']" {'owner': 
> 'oozie', 'cd_access': 
>     
>     'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:17,375 - Creating directory 
> u"Directory['/usr/hdp/current/oozie-server//var/tmp/oozie']"
>     2015-03-09 02:11:17,584 - Changing owner for 
> /usr/hdp/current/oozie-server//var/tmp/oozie from 0 to oozie
>     2015-03-09 02:11:17,631 - Changing group for 
> /usr/hdp/current/oozie-server//var/tmp/oozie from 0 to hadoop
>     2015-03-09 02:11:18,325 - u"Directory['/var/run/oozie']" {'owner': 
> 'oozie', 'cd_access': 'a', 'group': 'hadoop', 
>     
>     'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:18,484 - Changing group for /var/run/oozie from 544 to 
> hadoop
>     2015-03-09 02:11:18,826 - u"Directory['/grid/0/log/oozie']" {'owner': 
> 'oozie', 'cd_access': 'a', 'group': 'hadoop', 
>     
>     'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:18,872 - Creating directory 
> u"Directory['/grid/0/log/oozie']"
>     2015-03-09 02:11:19,151 - Changing owner for /grid/0/log/oozie from 0 to 
> oozie
>     2015-03-09 02:11:19,198 - Changing group for /grid/0/log/oozie from 0 to 
> hadoop
>     2015-03-09 02:11:19,615 - u"Directory['/var/tmp/oozie']" {'owner': 
> 'oozie', 'cd_access': 'a', 'group': 'hadoop', 
>     
>     'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:19,775 - Changing group for /var/tmp/oozie from 544 to 
> hadoop
>     2015-03-09 02:11:20,100 - u"Directory['/grid/0/hadoop/oozie/data']" 
> {'owner': 'oozie', 'cd_access': 'a', 'group': 
>     
>     'hadoop', 'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:20,147 - Creating directory 
> u"Directory['/grid/0/hadoop/oozie/data']"
>     2015-03-09 02:11:20,354 - Changing owner for /grid/0/hadoop/oozie/data 
> from 0 to oozie
>     2015-03-09 02:11:20,404 - Changing group for /grid/0/hadoop/oozie/data 
> from 0 to hadoop
>     2015-03-09 02:11:20,911 - u"Directory['/usr/hdp/current/oozie-server']" 
> {'owner': 'oozie', 'cd_access': 'a', 'group': 
>     
>     'hadoop', 'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:21,054 - Changing owner for 
> /usr/hdp/current/oozie-server from 0 to oozie
>     2015-03-09 02:11:21,098 - Changing group for 
> /usr/hdp/current/oozie-server from 0 to hadoop
>     2015-03-09 02:11:21,141 - Changing permission for 
> /usr/hdp/current/oozie-server from 777 to 755
>     2015-03-09 02:11:21,539 - 
> u"Directory['/usr/hdp/current/oozie-server/oozie-server/webapps']" {'owner': 
> 'oozie', 
>     
>     'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:21,695 - Changing group for 
> /usr/hdp/current/oozie-server/oozie-server/webapps from 544 to hadoop
>     2015-03-09 02:11:22,375 - 
> u"Directory['/usr/hdp/current/oozie-server/oozie-server/conf']" {'owner': 
> 'oozie', 'cd_access': 
>     
>     'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
>     2015-03-09 02:11:22,536 - Changing group for 
> /usr/hdp/current/oozie-server/oozie-server/conf from 544 to hadoop
>     2015-03-09 02:11:22,585 - Changing permission for 
> /usr/hdp/current/oozie-server/oozie-server/conf from 777 to 755
>     2015-03-09 02:11:23,317 - 
> u"Directory['/usr/hdp/current/oozie-server/oozie-server']" {'owner': 'oozie', 
> 'recursive': True, 
>     
>     'group': 'hadoop', 'mode': 0755, 'cd_access': 'a'}
>     2015-03-09 02:11:23,560 - Changing group for 
> /usr/hdp/current/oozie-server/oozie-server from 544 to hadoop
>     2015-03-09 02:11:24,227 - 
> u"Directory['/usr/hdp/current/oozie-server/libext']" {'recursive': True}
>     2015-03-09 02:11:24,451 - u"Execute['('tar', '-xvf', 
> '/usr/hdp/current/oozie-server/oozie-sharelib.tar.gz', '-C', 
>     
>     '/usr/hdp/current/oozie-server')']" {'not_if': 'ls 
> /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat 
>     
>     /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'sudo': True}
>     2015-03-09 02:11:29,807 - u"Execute['('cp', 
> '/usr/share/HDP-oozie/ext-2.2.zip', 
> '/usr/hdp/current/oozie-server/libext')']" 
>     
>     {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat 
> /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'sudo': 
>     
>     True}
>     2015-03-09 02:11:29,947 - u"Execute['('chown', u'oozie:hadoop', 
> '/usr/hdp/current/oozie-server/libext/ext-2.2.zip')']" 
>     
>     {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat 
> /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'sudo': 
>     
>     True}
>     2015-03-09 02:11:30,082 - u"Execute['('chown', '-RL', u'oozie:hadoop', 
> '/usr/hdp/current/oozie-server/oozie-
>     
>     server/conf')']" {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 
> && ps -p `cat /var/run/oozie/oozie.pid` 
>     
>     >/dev/null 2>&1', 'sudo': True}
>     2015-03-09 02:11:30,235 - u"Execute['ambari-sudo.sh cp 
> /usr/hdp/current/falcon-client/oozie/ext/falcon-oozie-el-
>     
>     extension-*.jar /usr/hdp/current/oozie-server/libext']" {'not_if': 'ls 
> /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p 
>     
>     `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1'}
>     2015-03-09 02:11:30,322 - u"Execute['ambari-sudo.sh chown oozie:hadoop 
> /usr/hdp/current/oozie-server/libext/falcon-oozie-
>     
>     el-extension-*.jar']" {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 
> 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` 
>     
>     >/dev/null 2>&1'}
>     2015-03-09 02:11:30,409 - u"Package['hadoop-lzo']" {}
>     2015-03-09 02:11:30,861 - Skipping installing existent package hadoop-lzo
>     2015-03-09 02:11:30,862 - u"Package['lzo']" {}
>     2015-03-09 02:11:31,351 - Skipping installing existent package lzo
>     2015-03-09 02:11:31,351 - u"Package['hadoop-lzo-native']" {}
>     2015-03-09 02:11:31,804 - Skipping installing existent package 
> hadoop-lzo-native
>     2015-03-09 02:11:31,805 - u"Package['hadooplzo_2_2_*']" {}
>     2015-03-09 02:11:32,825 - Skipping installing existent package 
> hadooplzo_2_2_*
>     2015-03-09 02:11:32,826 - u"Execute['ambari-sudo.sh cp 
> /usr/hdp/current/hadoop-client/lib/hadoop-lzo*.jar 
>     
>     /usr/hdp/current/oozie-server']" {'not_if': 'ls /var/run/oozie/oozie.pid 
> >/dev/null 2>&1 && ps -p `cat 
>     
>     /var/run/oozie/oozie.pid` >/dev/null 2>&1'}
>     2015-03-09 02:11:32,923 - u"Execute['cd /var/tmp/oozie && 
> /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war']" 
>     
>     {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat 
> /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'user': 
>     
>     'oozie'}
>     2015-03-09 02:11:42,644 - 
> u"Directory['/etc/oozie/conf/action-conf/hive']" {'owner': 'oozie', 'group': 
> 'hadoop', 
>     
>     'recursive': True}
>     2015-03-09 02:11:42,692 - Creating directory 
> u"Directory['/etc/oozie/conf/action-conf/hive']"
>     2015-03-09 02:11:42,895 - Changing owner for 
> /etc/oozie/conf/action-conf/hive from 0 to oozie
>     2015-03-09 02:11:42,942 - Changing group for 
> /etc/oozie/conf/action-conf/hive from 0 to hadoop
>     2015-03-09 02:11:42,990 - u"XmlConfig['hive-site.xml']" {'group': 
> 'hadoop', 'conf_dir': '/etc/oozie/conf/action-
>     
>     conf/hive', 'mode': 0644, 'configuration_attributes': {}, 'owner': 
> 'oozie', 'configurations': ...}
>     2015-03-09 02:11:43,007 - Generating config: 
> /etc/oozie/conf/action-conf/hive/hive-site.xml
>     2015-03-09 02:11:43,007 - 
> u"File['/etc/oozie/conf/action-conf/hive/hive-site.xml']" {'owner': 'oozie', 
> 'content': 
>     
>     InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
>     2015-03-09 02:11:43,281 - Writing 
> u"File['/etc/oozie/conf/action-conf/hive/hive-site.xml']" because it doesn't 
> exist
>     2015-03-09 02:11:43,439 - Changing owner for 
> /etc/oozie/conf/action-conf/hive/hive-site.xml from 0 to oozie
>     2015-03-09 02:11:43,487 - Changing group for 
> /etc/oozie/conf/action-conf/hive/hive-site.xml from 0 to hadoop
>     2015-03-09 02:11:43,537 - u"XmlConfig['tez-site.xml']" {'group': 
> 'hadoop', 'conf_dir': '/etc/oozie/conf/action-conf/hive', 
>     
>     'mode': 0664, 'configuration_attributes': {}, 'owner': 'oozie', 
> 'configurations': ...}
>     2015-03-09 02:11:43,560 - Generating config: 
> /etc/oozie/conf/action-conf/hive/tez-site.xml
>     2015-03-09 02:11:43,569 - 
> u"File['/etc/oozie/conf/action-conf/hive/tez-site.xml']" {'owner': 'oozie', 
> 'content': 
>     
>     InlineTemplate(...), 'group': 'hadoop', 'mode': 0664, 'encoding': 'UTF-8'}
>     2015-03-09 02:11:43,748 - Writing 
> u"File['/etc/oozie/conf/action-conf/hive/tez-site.xml']" because it doesn't 
> exist
>     2015-03-09 02:11:43,908 - Changing owner for 
> /etc/oozie/conf/action-conf/hive/tez-site.xml from 0 to oozie
>     2015-03-09 02:11:43,955 - Changing group for 
> /etc/oozie/conf/action-conf/hive/tez-site.xml from 0 to hadoop
>     2015-03-09 02:11:44,003 - Changing permission for 
> /etc/oozie/conf/action-conf/hive/tez-site.xml from 644 to 664
>     2015-03-09 02:11:44,052 - u"Execute['('chown', '-R', u'oozie', u'hadoop', 
> '/usr/hdp/current/oozie-server/oozie-server')']" 
>     
>     {'sudo': True}
>     2015-03-09 02:11:44,118 - 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 222, in 
>     
>     oozie_server_specific
>         sudo=True
>       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: cannot access 
>     
>     `hadoop': No such file or directory
>     2015-03-09 02:11:44,165 - Command: /usr/bin/hdp-select status 
> oozie-server > /tmp/tmpNhpxZX
>     Output: oozie-server - 2.2.2.0-2570
>     



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

Reply via email to