You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 01:04:49 UTC
[jira] [Created] (OOZIE-708) Update the parent entity status
dynamically
Update the parent entity status dynamically
--------------------------------------------
Key: OOZIE-708
URL: https://issues.apache.org/jira/browse/OOZIE-708
Project: Oozie
Issue Type: Bug
Reporter: Virag Kothari
Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428263#comment-13428263 ]
Virag Kothari commented on OOZIE-708:
-------------------------------------
Alejandro,
Its already +1 ed on review board by Mohammad (https://reviews.apache.org/r/5784/).
I had already addressed your comments about backward compatibility. By default the feature will be turned off not to break backward compatibility. So we can have it in 3.x
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Assignee: Virag Kothari
> Fix For: trunk
>
> Attachments: OOZIE-708.diff, OOZIE-708v1.patch, Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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] [Reopened] (OOZIE-708) Update the parent entity status
dynamically
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur reopened OOZIE-708:
--------------------------------------
This JIRA has not been +1. In addition, it breaks compatibility in the DB within 3.x releases. We should revert it.
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Assignee: Virag Kothari
> Fix For: trunk
>
> Attachments: OOZIE-708.diff, OOZIE-708v1.patch, Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Virag Kothari (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Virag Kothari updated OOZIE-708:
--------------------------------
Attachment: Oozie state transitions.xlsx
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Attachments: Oozie state transitions.xlsx
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur resolved OOZIE-708.
--------------------------------------
Resolution: Fixed
OK, fair enough.
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Assignee: Virag Kothari
> Fix For: trunk
>
> Attachments: OOZIE-708.diff, OOZIE-708v1.patch, Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Virag Kothari updated OOZIE-708:
--------------------------------
Attachment: OOZIE-708.diff
1) Added RUNNINGWITHERROR, PAUSEDWITHERROR and SUSPENDEDWITHERROR for Coordinator and Bundle.
2) Change in status of children will update the status of parent (e.g wf rerun will update the state of coord)
Testing
Unit test cases added
QE testing in progress
Patch also on Review board
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Attachments: OOZIE-708.diff, Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Virag Kothari (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213136#comment-13213136 ]
Virag Kothari commented on OOZIE-708:
-------------------------------------
The state transition design is attached. Any comments will be appreciated.
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Attachments: Oozie state transitions.xlsx
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Virag Kothari updated OOZIE-708:
--------------------------------
Attachment: state_transition.png
State transition with the new states for coordinator job added
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Attachments: Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Virag Kothari updated OOZIE-708:
--------------------------------
Attachment: OOZIE-708v1.patch
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Assignee: Virag Kothari
> Attachments: OOZIE-708.diff, OOZIE-708v1.patch, Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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-708) Update the parent entity status
dynamically
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428307#comment-13428307 ]
Alejandro Abdelnur commented on OOZIE-708:
------------------------------------------
BTW, the +1 must be done in the JIRA as well. RB is an optional tool (and the link to the RB should be posted here upfront), Still not happy that we don't have all the comments of reviews in the JIRA.
> Update the parent entity status dynamically
> --------------------------------------------
>
> Key: OOZIE-708
> URL: https://issues.apache.org/jira/browse/OOZIE-708
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Assignee: Virag Kothari
> Fix For: trunk
>
> Attachments: OOZIE-708.diff, OOZIE-708v1.patch, Oozie state transitions.xlsx, state_transition.png
>
>
> Currently the coordinator jobs and bundles do not change their status from RUNNING even when some of the actions have failed. This jira proposes to change states from RUNNING to RUNNING_WITH_ERROR whenever some action is failed but the job is still in in RUNNING mode. Similarly, new states like SUSPENDED_WITH_ERROR and PAUSED_WITH_ERROR also needs to be introduced
--
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