forked subwf not return status to the parent wf job
---------------------------------------------------
Key: OOZIE-21
URL: https://issues.apache.org/jira/browse/OOZIE-21
Project: Apache Oozie (Incubating)
Issue Type: Bug
Reporter: Mona Chitnis
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 :
hdfs://gsbl90359.blue.ygrid.yahoo.com:8020/user/strat_ci/yoozie_test/workflows/test_4591177
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira