You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Mona Chitnis (JIRA)" <ji...@apache.org> on 2012/05/03 01:17:48 UTC

[jira] [Commented] (OOZIE-21) forked subwf not return status to the parent wf job

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

Mona Chitnis commented on OOZIE-21:
-----------------------------------

https://github.com/monachitnis/oozie/commit/d845fc0822070d5120ed2c58e74d2580bd293e11
                
> forked subwf not return status to the parent wf job
> ---------------------------------------------------
>
>                 Key: OOZIE-21
>                 URL: https://issues.apache.org/jira/browse/OOZIE-21
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Mona Chitnis
>             Fix For: pre-Apache
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> in the workflow job, there is a fork, with 2 fork path. each path is a sub workflow:
>     <fork name='fork2sub'>
>         <path start="part1"/>
>         <path start="part2"/>
>     </fork>
>     <action name='part1'>
>         <sub-workflow>
>             <app-path>${workDir}/partition</app-path>
>     ... ...
>     <action name='part2'>
>         <sub-workflow>
>             <app-path>${wf:appPath()}/partition</app-path>
> when both sub workflow finished, the parent workflow job status is not updated. instead, exceptions at the end of sub
> workflow, and when kill the parent job.
> $ oozie job -info 0001238-110815225747415-oozie-oozi-W
> Job ID : 0001238-110815225747415-oozie-oozi-W
> ------------------------------------------------------------------------------------------------------------------------------------
> Workflow Name : subwf2
> App Path      : 
> Status        : RUNNING
> Run           : 0
> User          : strat_ci
> Group         : users
> Created       : 2011-08-17 16:47
> Started       : 2011-08-17 16:47
> Last Modified : 2011-08-17 16:47
> Ended         : -
> CoordAction ID: -
> Actions
> ------------------------------------------------------------------------------------------------------------------------------------
> ID                                                                            Status    Ext ID                 Ext
> Status Err Code  
> ------------------------------------------------------------------------------------------------------------------------------------
> 0001238-110815225747415-oozie-oozi-W@part1                                    OK       
> 0001239-110815225747415-oozie-oozi-WSUCCEEDED  -         
> ------------------------------------------------------------------------------------------------------------------------------------
> 0001238-110815225747415-oozie-oozi-W@part2                                    OK       
> 0001240-110815225747415-oozie-oozi-WSUCCEEDED  -         
> ------------------------------------------------------------------------------------------------------------------------------------

--
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