[
https://issues.apache.org/jira/browse/OOZIE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397714#comment-13397714
]
Alejandro Abdelnur commented on OOZIE-861:
------------------------------------------
@Britt, regardin compat issues, the problem is somebody using Oozie 3.3.0 with
the modified schema to develop and then submitting the job in an Oozie 3.2.0.
That is why we need to rev up the schema version. Note that OOZIE-12 is also
making changes and it is wiring schema 0.4, if you wait till OOZIE-12 is in
then you'll just have to modify that one. Make sense?
> allow for use of multiple <java-opts>
> -------------------------------------
>
> Key: OOZIE-861
> URL: https://issues.apache.org/jira/browse/OOZIE-861
> Project: Oozie
> Issue Type: Improvement
> Reporter: Britt Cyr
> Assignee: Britt Cyr
> Priority: Minor
> Attachments: OOZIE-861-v2.patch, OOZIE-861.patch
>
>
> From the workflow schema you'll see:
> <xs:element name="java-opts" type="xs:string" minOccurs="0"
> maxOccurs="1"/>
> However, 'arg' is:
> <xs:element name="arg" type="xs:string" minOccurs="0"
> maxOccurs="unbounded"/>
> Notice the 'maxOccurs' difference.
> Instead of having:
> <java-opts>-Dparam1=val1 -Dparam2=val2 -Dparam3=val3 ...</java-opts>
> It would be easier to have:
> <java-opt>-Dparam1=val1</java-opt>
> <java-opt>-Dparam2=val2</java-opt>
> <java-opt>-Dparam3=val3</java-opt>
> ...
> Just like we can do with <arg>. Hence, the inconsistency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira