You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Britt Cyr (JIRA)" <ji...@apache.org> on 2012/06/18 20:33:42 UTC

[jira] [Created] (OOZIE-872) Support touchz in fs node of oozie worklfow

Britt Cyr created OOZIE-872:
-------------------------------

             Summary: 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
            Priority: Minor


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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-v5.patch
    
> 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-DOC.patch, OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872-v4.patch, OOZIE-872-v5.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

        

[jira] [Commented] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404035#comment-13404035 ] 

Virag Kothari commented on OOZIE-872:
-------------------------------------

+1..thanks britt
                
> 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
>             Fix For: trunk
>
>         Attachments: OOZIE-872-DOC.patch, OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872-v4.patch, OOZIE-872-v5.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

        

[jira] [Assigned] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur reassigned OOZIE-872:
----------------------------------------

    Assignee: Britt Cyr
    
> 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.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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-v5.patch
    
> 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-DOC.patch, OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872-v4.patch, OOZIE-872-v5.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

        

[jira] [Resolved] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Virag Kothari resolved OOZIE-872.
---------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
    
> 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
>             Fix For: trunk
>
>         Attachments: OOZIE-872-DOC.patch, OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872-v4.patch, OOZIE-872-v5.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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-DOC.patch

Updates the twiki for the new touch command
                
> 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-DOC.patch, 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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment:     (was: OOZIE-872-v5.patch)
    
> 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-DOC.patch, OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872-v4.patch, OOZIE-872-v5.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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-v2.patch
    
> 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.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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-v3.patch

Uses the new xsd 0.4
                
> 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

        

[jira] [Commented] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-v2.patch

Fixed formatting. I implemented touchz instead of touch because that is what hadoop implements, not the unix touch.

http://hadoop.apache.org/common/docs/r0.21.0/file_system_shell.html
                
> 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.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

        

[jira] [Commented] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402457#comment-13402457 ] 

Virag Kothari commented on OOZIE-872:
-------------------------------------

It would be good to add docs related to touchz in workflow_spec
Also, taking back my first comment after discussion with britt. Overwriting the existing file is required to update the last access time of file
                
> 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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872.patch

Support for touchz. Changes in the oozie-workflow-0.3.xsd FsActionExecutor TestFsActionExecutor
                
> 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
>            Priority: Minor
>         Attachments: 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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment: OOZIE-872-v4.patch

Documentation and a test case
                
> 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-DOC.patch, OOZIE-872-v2.patch, OOZIE-872-v3.patch, OOZIE-872-v4.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

        

[jira] [Commented] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396334#comment-13396334 ] 

Alejandro Abdelnur commented on OOZIE-872:
------------------------------------------

Britt,

* Wouldn't make more sense to call it touch and support the unix semantics of it 'The touch utility sets the modification and access times of files to the current time of day.  If the file doesn't exist, it is created with default permissions.' ?
* The patch seems to have several false changes due to reformatting, would you please make a patch without such changes?
* We cannot modify a XSD of a release version, we'll need a new XSD, 0.4 for this. There are other JIRAs that are adding things to the XSD, the first of such JIRAs (this, OOZIE-12, OOZIE-861) should add/wire the new XSD file, and the other just modify (until we release we can do that).

Also, I'm adding you as contributor, and I'll assign the JIRA (and OOZIE-861) to you, new JIRAs just take ownership. THX!

                
> 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
>            Priority: Minor
>         Attachments: 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

        

[jira] [Updated] (OOZIE-872) Support touchz in fs node of oozie worklfow

Posted by "Britt Cyr (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Britt Cyr updated OOZIE-872:
----------------------------

    Attachment:     (was: OOZIE-872-v2.patch)
    
> 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.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