[
https://issues.apache.org/jira/browse/FALCON-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13942218#comment-13942218
]
Venkatesh Seetharam commented on FALCON-365:
--------------------------------------------
Pls take a look at
org.apache.falcon.workflow.OozieProcessWorkflowBuilder#decorateHiveAction.
AFAICR, there was an issue with compiling the xsd when sla was uncommented.
Notice how its commented out.
{code}
<xs:complexType name="ACTION">
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="map-reduce" type="workflow:MAP-REDUCE"
minOccurs="1" maxOccurs="1"/>
<xs:element name="pig" type="workflow:PIG" minOccurs="1"
maxOccurs="1"/>
<xs:element name="ssh" type="workflow:SSH" minOccurs="1"
maxOccurs="1"/>
<xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"
minOccurs="1" maxOccurs="1"/>
<xs:element name="fs" type="workflow:FS" minOccurs="1"
maxOccurs="1"/>
<xs:element name="java" type="workflow:JAVA" minOccurs="1"
maxOccurs="1"/>
<xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
</xs:choice>
<xs:element name="ok" type="workflow:ACTION_TRANSITION"
minOccurs="1" maxOccurs="1"/>
<xs:element name="error" type="workflow:ACTION_TRANSITION"
minOccurs="1" maxOccurs="1"/>
<!--xs:any namespace="uri:oozie:sla:0.1" minOccurs="0"
maxOccurs="1"/-->
</xs:sequence>
<xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
<xs:attribute name="cred" type="xs:string"/>
<xs:attribute name="retry-max" type="xs:string"/>
<xs:attribute name="retry-interval" type="xs:string"/>
</xs:complexType>
{code}
> Remove the checked in oozie xsds
> --------------------------------
>
> Key: FALCON-365
> URL: https://issues.apache.org/jira/browse/FALCON-365
> Project: Falcon
> Issue Type: Bug
> Reporter: Shwetha G S
> Assignee: Shwetha G S
> Fix For: 0.5
>
> Attachments: FALCON-365.patch
>
>
> Oozie xsds for workflow, coordinator, bundle etc are part of oozie-client. We
> should use the xsds from the client jar
--
This message was sent by Atlassian JIRA
(v6.2#6252)