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

[jira] [Commented] (AMBARI-9957) Can't start Oozie after changing database from default when UMASK=027

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

Hadoop QA commented on AMBARI-9957:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12703035/AMBARI-9957.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1945//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1945//console

This message is automatically generated.

> Can't start Oozie after changing database from default when UMASK=027
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-9957
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9957
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9957.patch
>
>
> STDERR:
> {code}2015-03-02 15:49:24,712 - Error while executing command 'start':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, 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 188, in oozie_server_specific
>     not_if  = no_op_test
>   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 276, in action_run
>     raise ex
> Fail: Execution of 'cd /var/tmp/oozie && /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war' returned 255.   setting OOZIE_CONFIG=${OOZIE_CONFIG:-/etc/oozie/conf}
>   setting CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-server/oozie-server}
>   setting CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}
>   setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
>   setting JAVA_HOME=/usr/jdk64/jdk1.7.0_67
>   setting JRE_HOME=${JAVA_HOME}
>   setting OOZIE_LOG=/grid/0/log/oozie
>   setting CATALINA_PID=/var/run/oozie/oozie.pid
>   setting OOZIE_DATA=/hadoop/oozie/data
>   setting OOZIE_HTTP_PORT=11000
>   setting OOZIE_ADMIN_PORT=11001
>   setting JAVA_LIBRARY_PATH=/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64
>   setting OOZIE_CLIENT_OPTS="${OOZIE_CLIENT_OPTS} -Doozie.connection.retry.count=5 "
>   setting CATALINA_OPTS="${CATALINA_OPTS} -Xmx2048m -XX:MaxPermSize=256m "
>   setting OOZIE_CONFIG=${OOZIE_CONFIG:-/etc/oozie/conf}
>   setting CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-server/oozie-server}
>   setting CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}
>   setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
>   setting JAVA_HOME=/usr/jdk64/jdk1.7.0_67
>   setting JRE_HOME=${JAVA_HOME}
>   setting OOZIE_LOG=/grid/0/log/oozie
>   setting CATALINA_PID=/var/run/oozie/oozie.pid
>   setting OOZIE_DATA=/hadoop/oozie/data
>   setting OOZIE_HTTP_PORT=11000
>   setting OOZIE_ADMIN_PORT=11001
>   setting JAVA_LIBRARY_PATH=/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64
>   setting OOZIE_CLIENT_OPTS="${OOZIE_CLIENT_OPTS} -Doozie.connection.retry.count=5 "
>   setting CATALINA_OPTS="${CATALINA_OPTS} -Xmx2048m -XX:MaxPermSize=256m "
> INFO: Adding extension: /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar
> cp: cannot open `/usr/hdp/current/oozie-server/libext/mysql-connector-java.jar' for reading: Permission denied
> Failed: copying jar /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar to staging{code}
> STDOUT
> {code}
> 2015-03-02 15:49:02,354 - u"Group['hadoop']" {'ignore_failures': False}
> 2015-03-02 15:49:02,355 - Modifying group hadoop
> 2015-03-02 15:49:02,474 - u"Group['users']" {'ignore_failures': False}
> 2015-03-02 15:49:02,475 - Modifying group users
> 2015-03-02 15:49:02,519 - u"User['oozie']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
> 2015-03-02 15:49:02,520 - Modifying user oozie
> 2015-03-02 15:49:02,567 - u"User['hive']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,568 - Modifying user hive
> 2015-03-02 15:49:02,613 - u"User['mapred']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,614 - Modifying user mapred
> 2015-03-02 15:49:02,666 - u"User['ambari-qa']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
> 2015-03-02 15:49:02,667 - Modifying user ambari-qa
> 2015-03-02 15:49:02,712 - u"User['flume']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,713 - Modifying user flume
> 2015-03-02 15:49:02,758 - u"User['zookeeper']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,759 - Modifying user zookeeper
> 2015-03-02 15:49:02,807 - u"User['tez']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
> 2015-03-02 15:49:02,807 - Modifying user tez
> 2015-03-02 15:49:02,852 - u"User['false']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,853 - Modifying user false
> 2015-03-02 15:49:02,898 - u"User['hdfs']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,899 - Modifying user hdfs
> 2015-03-02 15:49:02,956 - u"User['sqoop']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:02,957 - Modifying user sqoop
> 2015-03-02 15:49:03,001 - u"User['yarn']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:03,001 - Modifying user yarn
> 2015-03-02 15:49:03,050 - u"User['hcat']" {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
> 2015-03-02 15:49:03,050 - Modifying user hcat
> 2015-03-02 15:49:03,101 - u"File['/var/lib/ambari-agent/data/tmp/changeUid.sh']" {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
> 2015-03-02 15:49:03,198 - 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'}
> 2015-03-02 15:49:03,259 - 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-02 15:49:03,260 - u"Group['hdfs']" {'ignore_failures': False}
> 2015-03-02 15:49:03,261 - Modifying group hdfs
> 2015-03-02 15:49:03,406 - u"User['hdfs']" {'groups': [u'hadoop', 'hadoop', 'hdfs', u'hdfs']}
> 2015-03-02 15:49:03,406 - Modifying user hdfs
> 2015-03-02 15:49:03,452 - u"Directory['/etc/hadoop']" {'mode': 0755}
> 2015-03-02 15:49:03,454 - u"Directory['/etc/hadoop/conf.empty']" {'owner': 'hdfs', 'group': 'hadoop', 'recursive': True}
> 2015-03-02 15:49:03,455 - u"Link['/etc/hadoop/conf']" {'not_if': 'ls /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
> 2015-03-02 15:49:03,502 - Skipping u"Link['/etc/hadoop/conf']" due to not_if
> 2015-03-02 15:49:03,529 - u"File['/etc/hadoop/conf/hadoop-env.sh']" {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
> 2015-03-02 15:49:03,593 - u"Execute['('setenforce', '0')']" {'sudo': True, 'only_if': 'test -f /selinux/enforce'}
> 2015-03-02 15:49:03,698 - Skipping u"Execute['('setenforce', '0')']" due to only_if
> 2015-03-02 15:49:03,699 - u"Directory['/grid/0/log/hadoop']" {'owner': 'root', 'mode': 0775, 'group': 'hadoop', 'recursive': True, 'cd_access': 'a'}
> 2015-03-02 15:49:03,889 - u"Directory['/var/run/hadoop']" {'owner': 'root', 'group': 'root', 'recursive': True, 'cd_access': 'a'}
> 2015-03-02 15:49:04,030 - u"Directory['/tmp/hadoop-hdfs']" {'owner': 'hdfs', 'recursive': True, 'cd_access': 'a'}
> 2015-03-02 15:49:04,146 - u"File['/etc/hadoop/conf/commons-logging.properties']" {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
> 2015-03-02 15:49:04,196 - u"File['/etc/hadoop/conf/health_check']" {'content': Template('health_check-v2.j2'), 'owner': 'hdfs'}
> 2015-03-02 15:49:04,252 - u"File['/etc/hadoop/conf/log4j.properties']" {'content': '...', 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
> 2015-03-02 15:49:04,319 - u"File['/etc/hadoop/conf/hadoop-metrics2.properties']" {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs'}
> 2015-03-02 15:49:04,367 - u"File['/etc/hadoop/conf/task-log4j.properties']" {'content': StaticFile('task-log4j.properties'), 'mode': 0755}
> 2015-03-02 15:49:04,580 - u"File['/etc/hadoop/conf/configuration.xsl']" {'owner': 'hdfs', 'group': 'hadoop'}
> 2015-03-02 15:49:04,763 - 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-02 15:49:04,764 - 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-02 15:49:10,791 - Skipping 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']" due to not_if
> 2015-03-02 15:49:10,791 - u"Directory['/etc/oozie/conf']" {'owner': 'oozie', 'group': 'hadoop', 'recursive': True}
> 2015-03-02 15:49:10,793 - u"XmlConfig['oozie-site.xml']" {'group': 'hadoop', 'conf_dir': '/etc/oozie/conf', 'mode': 0664, 'configuration_attributes': {}, 'owner': 'oozie', 'configurations': ...}
> 2015-03-02 15:49:10,809 - Generating config: /etc/oozie/conf/oozie-site.xml
> 2015-03-02 15:49:10,810 - u"File['/etc/oozie/conf/oozie-site.xml']" {'owner': 'oozie', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0664, 'encoding': 'UTF-8'}
> 2015-03-02 15:49:10,883 - Writing u"File['/etc/oozie/conf/oozie-site.xml']" because contents don't match
> 2015-03-02 15:49:10,973 - Changing permission for /etc/oozie/conf/oozie-site.xml from 644 to 664
> 2015-03-02 15:49:11,022 - u"File['/etc/oozie/conf/oozie-env.sh']" {'content': InlineTemplate(...), 'owner': 'oozie'}
> 2015-03-02 15:49:11,067 - Writing u"File['/etc/oozie/conf/oozie-env.sh']" because contents don't match
> 2015-03-02 15:49:11,159 - u"File['/etc/oozie/conf/oozie-log4j.properties']" {'content': '...', 'owner': 'oozie', 'group': 'hadoop', 'mode': 0644}
> 2015-03-02 15:49:11,209 - u"File['/etc/oozie/conf/adminusers.txt']" {'content': Template('adminusers.txt.j2'), 'owner': 'oozie', 'group': 'hadoop', 'mode': 0644}
> 2015-03-02 15:49:11,255 - u"File['/usr/lib/ambari-agent/DBConnectionVerification.jar']" {'content': DownloadSource('http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar')}
> 2015-03-02 15:49:11,256 - Not downloading the file from http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar, because /var/lib/ambari-agent/data/tmp/DBConnectionVerification.jar already exists
> 2015-03-02 15:49:11,302 - u"File['/etc/oozie/conf/hadoop-config.xml']" {'owner': 'oozie', 'group': 'hadoop'}
> 2015-03-02 15:49:11,303 - u"File['/etc/oozie/conf/oozie-default.xml']" {'owner': 'oozie', 'group': 'hadoop'}
> 2015-03-02 15:49:11,303 - u"Directory['/etc/oozie/conf/action-conf']" {'owner': 'oozie', 'group': 'hadoop'}
> 2015-03-02 15:49:11,304 - u"File['/etc/oozie/conf/action-conf/hive.xml']" {'owner': 'oozie', 'group': 'hadoop'}
> 2015-03-02 15:49:11,304 - 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-02 15:49:11,349 - u"Directory['/usr/hdp/current/oozie-server//var/tmp/oozie']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:11,752 - u"Directory['/var/run/oozie']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:11,888 - u"Directory['/grid/0/log/oozie']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:12,066 - u"Directory['/var/tmp/oozie']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:12,249 - u"Directory['/hadoop/oozie/data']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:12,590 - u"Directory['/usr/hdp/current/oozie-server']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:12,821 - u"Directory['/usr/hdp/current/oozie-server/oozie-server/webapps']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:13,116 - u"Directory['/usr/hdp/current/oozie-server/oozie-server/conf']" {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
> 2015-03-02 15:49:13,389 - u"Directory['/usr/hdp/current/oozie-server/oozie-server']" {'owner': 'oozie', 'recursive': True, 'group': 'hadoop', 'mode': 0755, 'cd_access': 'a'}
> 2015-03-02 15:49:13,631 - u"Directory['/usr/hdp/current/oozie-server/libext']" {'recursive': True}
> 2015-03-02 15:49:13,633 - 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-02 15:49:16,201 - 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-02 15:49:16,294 - 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-02 15:49:16,384 - 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-02 15:49:16,472 - u"File['/var/lib/ambari-agent/data/tmp/mysql-connector-java.jar']" {'content': DownloadSource('http://c6401.ambari.apache.org:8080/resources//mysql-jdbc-driver.jar')}
> 2015-03-02 15:49:16,473 - Not downloading the file from http://c6401.ambari.apache.org:8080/resources//mysql-jdbc-driver.jar, because /var/lib/ambari-agent/data/tmp/mysql-jdbc-driver.jar already exists
> 2015-03-02 15:49:16,522 - u"Execute['('cp', '--remove-destination', '/var/lib/ambari-agent/data/tmp/mysql-connector-java.jar', '/usr/hdp/current/oozie-server/libext/mysql-connector-java.jar')']" {'path': ['/bin', '/usr/bin/'], 'sudo': True}
> 2015-03-02 15:49:16,567 - u"Package['hadoop-lzo']" {}
> 2015-03-02 15:49:16,984 - Skipping installing existent package hadoop-lzo
> 2015-03-02 15:49:16,984 - u"Package['lzo']" {}
> 2015-03-02 15:49:17,483 - Skipping installing existent package lzo
> 2015-03-02 15:49:17,484 - u"Package['hadoop-lzo-native']" {}
> 2015-03-02 15:49:18,802 - Skipping installing existent package hadoop-lzo-native
> 2015-03-02 15:49:18,802 - u"Package['hadooplzo_2_2_*']" {}
> 2015-03-02 15:49:20,445 - Skipping installing existent package hadooplzo_2_2_*
> 2015-03-02 15:49:20,446 - 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-02 15:49:20,542 - 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-02 15:49:24,712 - Error while executing command 'start':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, 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 188, in oozie_server_specific
>     not_if  = no_op_test
>   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 276, in action_run
>     raise ex
> Fail: Execution of 'cd /var/tmp/oozie && /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war' returned 255.   setting OOZIE_CONFIG=${OOZIE_CONFIG:-/etc/oozie/conf}
>   setting CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-server/oozie-server}
>   setting CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}
>   setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
>   setting JAVA_HOME=/usr/jdk64/jdk1.7.0_67
>   setting JRE_HOME=${JAVA_HOME}
>   setting OOZIE_LOG=/grid/0/log/oozie
>   setting CATALINA_PID=/var/run/oozie/oozie.pid
>   setting OOZIE_DATA=/hadoop/oozie/data
>   setting OOZIE_HTTP_PORT=11000
>   setting OOZIE_ADMIN_PORT=11001
>   setting JAVA_LIBRARY_PATH=/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64
>   setting OOZIE_CLIENT_OPTS="${OOZIE_CLIENT_OPTS} -Doozie.connection.retry.count=5 "
>   setting CATALINA_OPTS="${CATALINA_OPTS} -Xmx2048m -XX:MaxPermSize=256m "
>   setting OOZIE_CONFIG=${OOZIE_CONFIG:-/etc/oozie/conf}
>   setting CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-server/oozie-server}
>   setting CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}
>   setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
>   setting JAVA_HOME=/usr/jdk64/jdk1.7.0_67
>   setting JRE_HOME=${JAVA_HOME}
>   setting OOZIE_LOG=/grid/0/log/oozie
>   setting CATALINA_PID=/var/run/oozie/oozie.pid
>   setting OOZIE_DATA=/hadoop/oozie/data
>   setting OOZIE_HTTP_PORT=11000
>   setting OOZIE_ADMIN_PORT=11001
>   setting JAVA_LIBRARY_PATH=/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64
>   setting OOZIE_CLIENT_OPTS="${OOZIE_CLIENT_OPTS} -Doozie.connection.retry.count=5 "
>   setting CATALINA_OPTS="${CATALINA_OPTS} -Xmx2048m -XX:MaxPermSize=256m "
> INFO: Adding extension: /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar
> cp: cannot open `/usr/hdp/current/oozie-server/libext/mysql-connector-java.jar' for reading: Permission denied
> Failed: copying jar /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar to staging
> 2015-03-02 15:49:24,805 - Command: /usr/bin/hdp-select status oozie-server > /tmp/tmpIUvyEE
> Output: oozie-server - 2.2.1.0-2340{code}
> [root@c6402 ~]# ll /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar
> -rw-r----- 1 root root 959987 Mar  2 15:49 /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar
> [root@c6402 ~]# umask
> 0027
> [root@c6402 ~]# stat -c "%a %n" /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar
> 640 /usr/hdp/current/oozie-server/libext/mysql-connector-java.jar



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