[ https://issues.apache.org/jira/browse/AMBARI-18221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jayush Luniya updated AMBARI-18221: ----------------------------------- Labels: 240RMApproved (was: ) > Oozie server start fails while enabling wire encryption > ------------------------------------------------------- > > Key: AMBARI-18221 > URL: https://issues.apache.org/jira/browse/AMBARI-18221 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.4.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Priority: Blocker > Labels: 240RMApproved > Fix For: 2.4.0 > > Attachments: AMBARI-18221.patch > > > Oozie start fails with the following after wire encryption is enabled. > {code} > 2016-08-20 17:16:11,341 - Execute['cd /var/tmp/oozie && > /usr/hdp/current/oozie-server/bin/oozie-start.sh'] {'environment': > {'OOZIE_CONFIG': '/usr/hdp/current/oozie-server/conf'}, 'not_if': > "ambari-sudo.sh su oozie -l -s /bin/bash -c 'ls /var/run/oozie/oozie.pid > >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1'", > 'user': 'oozie'} > 2016-08-20 17:16:15,494 - Found 3 files/directories inside Atlas Hive hook > directory /usr/hdp/2.5.0.0-1234/atlas/hook/hive/ > 2016-08-20 17:16:15,701 - call['source > /usr/hdp/current/oozie-server/conf/oozie-env.sh ; oozie admin -shareliblist > hive | grep "\[Available ShareLib\]" -A 5'] {'logoutput': True, 'tries': 10, > 'user': 'oozie', 'try_sleep': 5} > Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. > No of retries = 1. Exception = Could not authenticate, Authentication failed, > URL: > http://nat-s11-4-bjps-stackdeploy-4.openstacklocal:11000/oozie/versions?user.name=oozie, > status: 302, message: Found > 2016-08-20 17:16:34,257 - Retrying after 5 seconds. Reason: Execution of > 'source /usr/hdp/current/oozie-server/conf/oozie-env.sh ; oozie admin > -shareliblist hive | grep "\[Available ShareLib\]" -A 5' returned 1. Error: > IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of > retries = 1. Exception = Could not authenticate, Authentication failed, URL: > http://nat-s11-4-bjps-stackdeploy-4.openstacklocal:11000/oozie/versions?user.name=oozie, > status: 302, message: Found > {code} > Looks like the oozie URL used is still pointing to the http instead of https. > This is result of call {{oozie admin -shareliblist hive}} where it defaults > to http url. So the calls need to be modified to include {{-oozie oozie_url}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)