- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How i can import workflow by command line?
- Labels:
-
Cloudera Hue
Created on ‎09-19-2017 11:36 PM - edited ‎09-16-2022 05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi! I'm new in hue.
I have a workflow in json format. I need automaticaly import the workflow, without using UI HUE
Hou i can import the workflow to hue? (api? java? sh command?)
May be i can skip hue and import the workflow directly to oozie?
Created ‎10-07-2017 09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everybody thank you! ><
I get it by command
oozie job -oozie http://oozieHost:11000/oozie -config ~/.job.properties -run
Created ‎09-20-2017 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think Hue currently supports it through API call, and you might have to import through Hue UI again.
Created on ‎09-20-2017 04:44 AM - edited ‎09-20-2017 06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ohh
I found ./build/env/bin/hue loaddata data.json comand. I think it may be usefull
But i have other problem.
I don't have permissions of logs files, command was faled((
IOError: [Errno 13] Permission denied: '/u01/cloudera/parsels1/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/build/env/bin/logs/loaddata.log'
I am trying make ansible palybook for import workflow to hue, and the ansible playbook will run on machine where i can't give permissions for every file wich i want...
In other words - i can't make
chmod 777 -R <path>/hue/build/env/bin/logs/
Created ‎10-07-2017 09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everybody thank you! ><
I get it by command
oozie job -oozie http://oozieHost:11000/oozie -config ~/.job.properties -run
