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.

call oozie workflow through oozie webservice

call oozie workflow through oozie webservice

New Contributor

How to call oozie workflow from oozie webservice?

 

tried using curl command from edge node--

 

$ curl -X POST -H "Content-Type: application/xml" -d @config.xml "http://localhost:11000/oozie/v1/jobs?action=start"

 

getting "Http authentication issue"

 

any help please..

 

 

1 REPLY 1

Re: call oozie workflow through oozie webservice

Community Manager

Hello,

 

Most likely, either you need to kinit and use curl -k, if kerberos is enabled, and/or additionally specify the 11443 oozie port with https, if TLS/SSL is enabled.    With TLS/SSL, please remember to import the certificate into the cacerts file for the JDK so commands such as oozie and curl trust your oozie server's certificate.

 

https://blog.cloudera.com/blog/2013/06/how-to-use-the-apache-oozie-rest-api/

https://www.cloudera.com/documentation/enterprise/latest/topics/cm_sg_ssl_oozie.html

https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_sg_tls_troubleshoot.html



Robert Justice, Technical Resolution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service