jun aoki created OOZIE-1143:
-------------------------------

             Summary: CLI oozie validate coordinator.xml says *workflow-app* is 
valid / invalid
                 Key: OOZIE-1143
                 URL: https://issues.apache.org/jira/browse/OOZIE-1143
             Project: Oozie
          Issue Type: Improvement
          Components: client
    Affects Versions: trunk
            Reporter: jun aoki
            Assignee: jun aoki
            Priority: Trivial
             Fix For: trunk


[junaoki@gwrd8003 cron]$ oozie validate coordinator.xml
Valid worflow-app

after modifying the xml file to somewhat wrong

[junaoki@gwrd8003 cron]$ oozie validate coordinator.xml
Error: Invalid workflow-app, org.xml.sax.SAXParseException; lineNumber: 20;
columnNumber: 18; cvc-complex-type.2.4.a: Invalid content was found starting
with element 'action1'. One of '{"uri:oozie:coordinator:0.2":controls,
"uri:oozie:coordinator:0.2":datasets, "uri:oozie:coordinator:0.2":input-events,
"uri:oozie:coordinator:0.2":output-events, "uri:oozie:coordinator:0.2":action}'
is expected.


it should be *coordinator-app*.
Probably same for the other xsd files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to