[
https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402049#comment-13402049
]
Virag Kothari commented on OOZIE-872:
-------------------------------------
1) Creation of file should be in else block. Otherwise, unnecessarily an
existing file of 0 length will be overwritten.
2) Negative test case for a file > 0 len can be added. Also, plz assert for
appropriate error msgs instead of an empty catch block.
3) Some TABS are introduced in the new patch in the xsd file. Plz remove
> Support touchz in fs node of oozie worklfow
> -------------------------------------------
>
> Key: OOZIE-872
> URL: https://issues.apache.org/jira/browse/OOZIE-872
> Project: Oozie
> Issue Type: Improvement
> Reporter: Britt Cyr
> Assignee: Britt Cyr
> Priority: Minor
> Attachments: OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872.patch
>
>
> My workflow has the need to touch an empty file after all the sub workflows
> are done. Hadoop supports touchz to create an empty file, but my oozie
> workflow fails when I give it in the fs node of oozie workflow.
> <action name="touchsuccess">
> <fs>
> <touchz path="${DS_OUTPUT_INTERESTCATEGORY}/_SUCCESS"/>
> </fs>
> <ok to="end"/>
> <error to="kill"/>
> </action>
> Right now the only supported options are chmod, move, delete and mkdir. Could
> we have the support for touchz also?
--
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