You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/08/21 02:59:21 UTC
[jira] [Commented] (AMBARI-18221) Oozie server start fails while
enabling wire encryption with Atlas
[ https://issues.apache.org/jira/browse/AMBARI-18221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429566#comment-15429566 ]
Hudson commented on AMBARI-18221:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5561 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5561/])
AMBARI-18221. Oozie server start fails while enabling wire encryption (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fe768ad8767fcd82ce13b8d762f987efa8557df2])
* (edit) ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
> Oozie server start fails while enabling wire encryption with Atlas
> ------------------------------------------------------------------
>
> 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)