[ 
https://issues.apache.org/jira/browse/OOZIE-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Virag Kothari updated OOZIE-1064:
---------------------------------

    Description: 
The status of coordinator job is not reflected correctly in bundle action when 
coordinator job is in terminal state. Also the coordinator job should transit 
to SUCCEEDED only when materialization is done


to reproduce:
submit a bundle job which has 3 catchup-mode coord jobs, and each coord job has 
3 actions.
kill 1 coord job as soon as its first action SUCCEEDED while coord job is 
RUNNING.
the coord job status becomes KILLED for a second, with only 1 SUCCEEDED action.
then it transit to SUCCEEDED.

the bundle job's other 2 coord jobs finished SUCCEEDED.
however the final bundle job status is DONEWITHERROR (which is correct since 
the 1 coord job should be KILLED),
when all 3 coord jobs displayed status as SUCCEEDED.



  was:
coord job status should not transit after coord_kill.

to reproduce:
submit a bundle job which has 3 catchup-mode coord jobs, and each coord job has 
3 actions.
kill 1 coord job as soon as its first action SUCCEEDED while coord job is 
RUNNING.
the coord job status becomes KILLED for a second, with only 1 SUCCEEDED action.
then it transit to SUCCEEDED.

the bundle job's other 2 coord jobs finished SUCCEEDED.
however the final bundle job status is DONEWITHERROR (which is correct since 
the 1 coord job should be KILLED),
when all 3 coord jobs displayed status as SUCCEEDED.



       Assignee: Virag Kothari
        Summary:  Status value of coordinator job not reflected in bundle 
action and invalid transition of coordinator job  (was: coord job status should 
not transit after kill)
    
>  Status value of coordinator job not reflected in bundle action and invalid 
> transition of coordinator job
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1064
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1064
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.3.0
>            Reporter: michelle chiang
>            Assignee: Virag Kothari
>            Priority: Minor
>         Attachments: OOZIE-1064.patch
>
>
> The status of coordinator job is not reflected correctly in bundle action 
> when coordinator job is in terminal state. Also the coordinator job should 
> transit to SUCCEEDED only when materialization is done
> to reproduce:
> submit a bundle job which has 3 catchup-mode coord jobs, and each coord job 
> has 3 actions.
> kill 1 coord job as soon as its first action SUCCEEDED while coord job is 
> RUNNING.
> the coord job status becomes KILLED for a second, with only 1 SUCCEEDED 
> action.
> then it transit to SUCCEEDED.
> the bundle job's other 2 coord jobs finished SUCCEEDED.
> however the final bundle job status is DONEWITHERROR (which is correct since 
> the 1 coord job should be KILLED),
> when all 3 coord jobs displayed status as SUCCEEDED.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to