If Oozie is configured with Kerberos Security enabled:
- You must have a Kerberos session running. For example, you can start a session by
running the
kinit
command.
- Do not use
localhost
as in the above examples.
As with every service that uses Kerberos, Oozie has a Kerberos principal
in the form <SERVICE>/<HOSTNAME>@<REALM>
. In a
Kerberos configuration, you must use the <HOSTNAME>
value in the Kerberos principal to specify the Oozie server; for example, if the
<HOSTNAME>
in the principal is
myoozieserver.mydomain.com
, set OOZIE_URL
as
follows:
export OOZIE_URL=http://myoozieserver.mydomain.com:11000/oozie
If
you use an alternate hostname or the IP address of the service, Oozie will not work
properly.