[
https://issues.apache.org/jira/browse/OOZIE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259801#comment-13259801
]
[email protected] commented on OOZIE-817:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4835/#review7147
-----------------------------------------------------------
i don't think the patch will work as expected as the following won't work:
mkdir
delete
mkdir
delete
AFAIK, XML schemas have the limitation that random order is not possible.
- Alejandro
On 2012-04-21 04:26:17, Han Xiao wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4835/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-04-21 04:26:17)
bq.
bq.
bq. Review request for oozie.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Schema of fs action require the fs operations must follow the sequence of
"delete, mkdir, move, chmod".
bq. The limitation is not reasonable, oozie should allow fs operations to be
done in any sequence users like to.
bq.
bq.
bq. This addresses bug OOZIE-817.
bq. https://issues.apache.org/jira/browse/OOZIE-817
bq.
bq.
bq. Diffs
bq. -----
bq.
bq.
http://svn.apache.org/repos/asf/incubator/oozie/trunk/client/src/main/resources/oozie-workflow-0.1.xsd
1327027
bq.
http://svn.apache.org/repos/asf/incubator/oozie/trunk/client/src/main/resources/oozie-workflow-0.2.5.xsd
1327027
bq.
http://svn.apache.org/repos/asf/incubator/oozie/trunk/client/src/main/resources/oozie-workflow-0.2.xsd
1327027
bq.
http://svn.apache.org/repos/asf/incubator/oozie/trunk/client/src/main/resources/oozie-workflow-0.3.xsd
1327027
bq.
http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestLiteWorkflowAppService.java
1327027
bq.
http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/test/resources/wf-schema-valid.xml
1327027
bq.
bq. Diff: https://reviews.apache.org/r/4835/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq. * Revise the TestLiteWorkflowAppService to add testing for fs action's
schema.
bq. * All testcase are passed.
bq.
bq.
bq. Thanks,
bq.
bq. Han
bq.
bq.
> Fix the unreasonable definition of the schema to fs action
> ----------------------------------------------------------
>
> Key: OOZIE-817
> URL: https://issues.apache.org/jira/browse/OOZIE-817
> Project: Oozie
> Issue Type: Bug
> Components: client
> Affects Versions: trunk
> Reporter: Han Xiao
> Fix For: trunk
>
>
> Schema of fs action require the fs operations must follow the sequence of
> "delete, mkdir, move, chmod".
> The limitation is not reasonable, oozie should allow fs operations to be done
> in any sequence users like to.
--
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