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.

Ozzie workflow import via java api

Ozzie workflow import via java api

New Contributor

Is there a way to import oozie workflow via Java API (given workflow.xml and other required files are already in hdfs) so that after import it is visible in Hue Oozie Workflow Manager?

 

Thanks,

Romas

5 REPLIES 5

Re: Ozzie workflow import via java api

Hue supports importing a workflow so you could try to do a POST request with the information and it will create it. Currently Hue does not offer a REST API for this but we are thinking about it: https://issues.cloudera.org/browse/HUE-1450

Re: Ozzie workflow import via java api

New Contributor

Romainr, "POST request" - what is the POST request? you mean UI HUE? could you give example please?

Re: Ozzie workflow import via java api

New Contributor

By the way, How can I POST workflow.xml to oozie, without using HUE?  

Re: Ozzie workflow import via java api

New Contributor

Hi,

 

Has anyone been able to do this?

 

@Romainr are you suggesting to send a POST request to the API used by the Hue UI?

 

This could be a good option but I am worried it would break when Hue is upgraded. 

 

A public API as requested in HUE-1450 would be ideal.

 

Thanks

Julien

 

 

 

 

Re: Ozzie workflow import via java api

New Contributor

romas, Have you done it? I have the same problem now. Could you tell how have you resolved it?