Hi everyone,
I have several questions and problems regarding the Oozie REST Api
Webinterface. I usually start jobs on my MapR 4.0.1 cluster through the CLI
oozie command and that works just fine. But i want to make use now of the
Rest Interface. so i rewrote my .properties file to xml and tried to start
that now.
In my properties file, I had defined the following:
oozie.wf.application.path=${workflowRoot}/export.xml
But now in the xml Version, if I put in there:
<property>
<name>oozie.wf.application.path</name>
<value>${workflowRoot}/export.xml</value>
</property>
I get a Syntactically not correct error. But if i put this in the XML
<property>
<name>oozie.wf.application.path</name>
<value>${workflowRoot}/export.xml</value>
</property>
I get another Error (which is my second question), so I assume, i have to
refer to the directory and not to a specific workflow xml. but imagine
this: i have now two xml's in my directory (wf xml and the
"properties"-xml), how does oozie know now which xml to take here? isn't
this pretty unprecise and a step back? Or am I doing/assuming something
wrong?
Second question: As mentioned I'm getting now this Error:
This request requires HTTP authentication.
What to do to prevent/solve this? FYI: I'm not using kerberos or any other
security framework.
Any link to a useful and recent tutorial for the oozie rest api is
appreciated, i only find the one on the cloudera blog, which is somehow not
working for me and seems outdated (not referring to UTF-8, for example) ...
Cheers
Wolli