Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Oozie is not working in CDH 3.0 VM

Oozie is not working in CDH 3.0 VM

New Contributor

I am getting the below error while trying to run any oozie command in CDH 3.0:

 

cloudera@cloudera-vm:~$ oozie admin -version
java.lang.IllegalArgumentException: Oozie URL is not available neither in command option or in the environment
    at org.apache.oozie.cli.OozieCLI.getOozieUrl(OozieCLI.java:368)
    at org.apache.oozie.cli.AuthOozieCLI.createXOozieClient(AuthOozieCLI.java:120)
    at org.apache.oozie.cli.OozieCLI.adminCommand(OozieCLI.java:906)
    at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:329)
    at org.apache.oozie.cli.AuthOozieCLI.main(AuthOozieCLI.java:81)
Oozie URL is not available neither in command option or in the environment
cloudera@cloudera-vm:~$ oozie service status
Invalid sub-command: invalid sub-command [service]

use 'help' sub-command for help details

 

Kindly help.

 

 

5 REPLIES 5

Re: Oozie is not working in CDH 3.0 VM

Master Guru
Please read this section of documentation on how to use the CLI tool: http://archive.cloudera.com/cdh4/cdh/4/oozie/DG_CommandLineTool.html#Oozie_URL, it will help you understand your error better, and in resolving this.
Highlighted

Re: Oozie is not working in CDH 3.0 VM

New Contributor

 

I have the same problem when I run "oozie admin -version" or "oozie admin -shareliblist"  with CDH5 

 

Does anybody kindly help ?

 

Thanks. 

Re: Oozie is not working in CDH 3.0 VM

Expert Contributor

Same with me too.. running into the same issue after upgrading to CDH 5.1.0 on my local cluster. Does anyone have any clues?

 

Also see this if I try passing in the oozie URL:

$ oozie admin -sharelibupdate -oozie http://vm-cluster-node1:8888/oozie

Error: AUTHENTICATION : Could not authenticate, Authentication failed, status: 404, message: NOT FOUND

 

Do I need to disable some security feature?

 

Thanks!

Re: Oozie is not working in CDH 3.0 VM

Contributor

Oozie runs on port 11000; IIRC, 8888 is Hue, and there's no /oozie on Hue :)

 

Try this:

$ oozie admin -sharelibupdate -oozie http://vm-cluster-node1:11000/oozie

 

Also, instead of having to specify -oozie <url> everytime you do an Oozie command, you can set the OOZIE_URL environment variable.

e.g.

$ export OOZIE_URL=http://vm-cluster-node1:11000/oozie

 

Software Engineer | Cloudera, Inc. | http://cloudera.com

Re: Oozie is not working in CDH 3.0 VM

New Contributor

^resolved my issue on Oozie server build version: 3.3.2-cdh4.7.1