Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18221

Oozie server start fails while enabling wire encryption with Atlas

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: stacks
    • Labels:

      Description

      Oozie start fails with the following after wire encryption is enabled.

      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
      

      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.

        Attachments

        1. AMBARI-18221.patch
          2 kB
          Sumit Mohanty

          Activity

            People

            • Assignee:
              sumitmohanty Sumit Mohanty
              Reporter:
              sumitmohanty Sumit Mohanty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: