[ 
https://issues.apache.org/jira/browse/OOZIE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261255#comment-13261255
 ] 

[email protected] commented on OOZIE-817:
-----------------------------------------------------



bq.  On 2012-04-23 18:17:36, Alejandro Abdelnur wrote:
bq.  > i don't think the patch will work as expected as the following won't 
work:
bq.  > 
bq.  > mkdir
bq.  > delete
bq.  > mkdir
bq.  > delete
bq.  > 
bq.  > AFAIK, XML schemas have the limitation that random order is not possible.

At first, i have the same idea with you.
However, after read the xml reference, I find using choice element could be a 
good method.
The sequence of "mkdir, delete, mkdir, delete" aslo works, and please just 
consider any of them is a choice element, an a choice element can be any in 
"delete, mkdir, move and chmod".
Thank you.


- Han


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4835/#review7147
-----------------------------------------------------------


On 2012-04-24 03:25:26, 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-24 03:25:26)
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

        

Reply via email to