You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2013/03/08 22:12:12 UTC
[jira] [Commented] (AMBARI-1591) Unable to Start Oozie server
[ https://issues.apache.org/jira/browse/AMBARI-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597572#comment-13597572 ]
Mahadev konar commented on AMBARI-1591:
---------------------------------------
Subin,
Looks like the directory /user/oozie does not exist. Not sure if has been deleted or not but if you create that dir, the tests should pass.
sudo bash
su hdfs
hadoop dfs -mkdir /user/oozie
Let us know if that works.
> Unable to Start Oozie server
> ----------------------------
>
> Key: AMBARI-1591
> URL: https://issues.apache.org/jira/browse/AMBARI-1591
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.2.1
> Environment: RHEL 6.2
> Reporter: subin m
> Labels: oozie
>
> Unable to start Ozzie Server
> I saw these logs in the agent log
> ERROR 2013-03-08 05:29:24,338 puppetExecutor.py:179 - Error running puppet:
> INFO 2013-03-08 05:29:24,338 puppetExecutor.py:189 - Output from puppet :
> warning: Dynamic lookup of $lzo_enabled at /var/lib/ambari-agent/puppet/modules/hdp-oozie/manifests/service.pp:38 is deprecated. Support will be removed in Puppet 2. 8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
> warning: Dynamic lookup of $ensure at /var/lib/ambari-agent/puppet/modules/hdp-oozie/manifests/service.pp:103 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
> notice: /Stage[1]/Hdp::Snappy::Package/Hdp::Snappy::Package::Ln[32]/Hdp::Exec[hdp::snappy::package::ln 32]/Exec[hdp::snappy::package::ln 32]/returns: executed success fully
> notice: /Stage[2]/Hdp-oozie/Configgenerator::Configfile[oozie-site]/File[/etc/oozie/conf/oozie-site.xml]/content: content changed '{md5}6c658750c9389c43df43984f26af9f d0' to '{md5}15a2e1db3e7292793cf47316436373be'
> notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/Exe c[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/returns: put: org.apache.hadoop.security.AccessC ontrolException: Permission denied: user=oozie, access=WRITE, inode="user":hdfs:hdfs:rwxr-xr-x
> notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/Exe c[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/returns: chmod: could not get status for '/user/ oozie/share': File does not exist: /user/oozie/share
> err: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/Exec[e xec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/returns: change from notrun to 0 failed: su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share' returned 1 instead of one of [0] at /var/lib/ambari-agent/puppet/m odules/hdp/manifests/init.pp:313
> notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/Anc hor[hdp::exec::exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share'::end]: Dependency Exec[exec su - ooz ie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share'] has failures: true
> warning: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share']/An chor[hdp::exec::exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share'::end]: Skipping because of failed d ependencies
> notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Anchor[hdp::exec::exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'::begin]: Dependency Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmo d -R 755 /user/oozie/share'] has failures: true
> warning: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Anchor[hdp::exec::exec su - oozie -c 'c d /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'::begin]: Skipping because of failed dependencies
> notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - oozie -c 'cd /var/tmp/ooz ie && /usr/lib/oozie/bin/oozie-start.sh']: Dependency Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie /share'] has failures: true
> warning: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - oozie -c 'cd /var/tmp/oo zie && /usr/lib/oozie/bin/oozie-start.sh']: Skipping because of failed dependencies
> notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Anchor[hdp::exec::exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'::end]: Dependency Exec[exec su - oozie -c 'hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share'] has failures: true
> warning: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - oozie -c 'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Anchor[hdp::exec::exec su - oozie -c 'c d /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'::end]: Skipping because of failed dependencies
> notice: Finished catalog run in 6.19 seconds
> INFO 2013-03-08 05:29:24,338 puppetExecutor.py:190 - Puppet exit code is 6
> INFO 2013-03-08 05:29:24,339 puppetExecutor.py:143 - ExitCode : 6
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira