J Doe
J Doe

Reputation: 31

Oozie workflow schema error

I am working on a project using Hue/Oozie to create work flows. The problem I am having is that multiple times now I have had a workflow working then made an edit which has resulted in an throwing the error:

OozieClientException: org.apache.oozie.DagEngineException: E0701: XML schema error, cvc-complex-type.2.4.a: Invalid content was found starting with element 'action'. One of '{WC["uri:oozie:sla:0.1","uri:oozie:sla:0.2"]}' is expected.

or something similar. This has resulted in me having to completely recreate the workflow at which point it works fine. If I look at the workflow.xml file then some of the actions are in the incorrect order even though they are fine in the oozie gui. I could edit the workflow to fix the issue but afaik its not possible to edit the workflow through changing the xml. I have no idea what is causing this.

Upvotes: 1

Views: 3611

Answers (2)

Venu D. Madhav
Venu D. Madhav

Reputation: 1

You need to verify whether all corresponding end tags are properly given. There could be chance of missing giving </ action> end tag

Upvotes: 0

Tao Cheng
Tao Cheng

Reputation: 121

I meet the same problem. It turns out the </action> was wrote to <action/> by mistabke.

Upvotes: 1

Related Questions