Hi,
I have the following issue with this action definition:
....
<action name="send_mail">
<shell xmlns="uri:oozie:shell-action:0.3">
<job-tracker>${jobTracker}</job-tracker>
<name-node>${nameNode}</name-node>
<exec>daily_report</exec>
<file>cmd/daily_report#daily_report</file>
<argument>send_report</argument>
<argument>--date=${date}</argument>
</shell>
<ok to="end" />
<error to="kill" />
</action>
...
If I look at the specs of "uri:oozie:shell-action:0.3" the <argument>
node exists, but oozie throws an exception on parsing time:
ERROR org.apache.oozie.command.wf.SubmitXCommand: USER[-] GROUP[-]
TOKEN[-] APP[-] JOB[0000000-130215122701352-oozie-oozi-C]
ACTION[0000000-130215122701352-oozie-oozi-C@1] XException,
org.apache.oozie.command.CommandException: E0701: XML schema error,
cvc-complex-type.2.4.a: Invalid content was found starting with
element 'argument'. One of '{"uri:oozie:shell-action:0.3":file,
"uri:oozie:shell-action:0.3":archive,
"uri:oozie:shell-action:0.3":capture-output}' is expected.
If I remove the <argument> node it works fine.
I use oozie version 3.3.1 with cdh 4.1.2
Thanks & Regards
Thomas