Reply
New Contributor
Posts: 1
Registered: ‎01-08-2014

Ozzie workflow import via java api

[ Edited ]

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

Cloudera Employee
Posts: 722
Registered: ‎07-30-2013

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

New Contributor
Posts: 7
Registered: ‎09-19-2017

Re: Ozzie workflow import via java api

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

New Contributor
Posts: 7
Registered: ‎09-19-2017

Re: Ozzie workflow import via java api

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

New Contributor
Posts: 7
Registered: ‎09-19-2017

Re: Ozzie workflow import via java api

[ Edited ]

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

Highlighted
New Contributor
Posts: 2
Registered: ‎09-12-2018

Re: Ozzie workflow import via java api

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

 

 

 

 

Announcements