Reply
New Contributor
Posts: 1
Registered: ‎02-25-2019

call oozie workflow through oozie webservice

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..

 

 

Posts: 384
Kudos: 7
Solutions: 5
Registered: ‎08-14-2013

Re: call oozie workflow through oozie webservice

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