Oozie
  1. Oozie
  2. OOZIE-708

Update the parent entity status dynamically

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      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

      1. OOZIE-708v1.patch
        161 kB
        Virag Kothari
      2. OOZIE-708.diff
        135 kB
        Virag Kothari
      3. state_transition.png
        322 kB
        Virag Kothari
      4. Oozie state transitions.xlsx
        40 kB
        Virag Kothari

        Activity

        Alejandro Abdelnur made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Alejandro Abdelnur added a comment -

        Closing issue as it has been released as part of 3.3.0 release

        Show
        Alejandro Abdelnur added a comment - Closing issue as it has been released as part of 3.3.0 release
        Hide
        Alejandro Abdelnur added a comment -

        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.

        Show
        Alejandro Abdelnur added a comment - 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.
        Alejandro Abdelnur made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Alejandro Abdelnur added a comment -

        OK, fair enough.

        Show
        Alejandro Abdelnur added a comment - OK, fair enough.
        Hide
        Virag Kothari added a comment -

        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

        Show
        Virag Kothari added a comment - 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
        Alejandro Abdelnur made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Alejandro Abdelnur added a comment -

        This JIRA has not been +1. In addition, it breaks compatibility in the DB within 3.x releases. We should revert it.

        Show
        Alejandro Abdelnur added a comment - This JIRA has not been +1. In addition, it breaks compatibility in the DB within 3.x releases. We should revert it.
        Virag Kothari made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s trunk [ 12320755 ]
        Resolution Fixed [ 1 ]
        Hide
        Virag Kothari added a comment -

        Committed to trunk

        Show
        Virag Kothari added a comment - Committed to trunk
        Virag Kothari made changes -
        Attachment OOZIE-708v1.patch [ 12539006 ]
        Virag Kothari made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Virag Kothari [ virag ]
        Virag Kothari made changes -
        Attachment OOZIE-708.diff [ 12535275 ]
        Hide
        Virag Kothari added a comment -

        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

        Show
        Virag Kothari added a comment - 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
        Virag Kothari made changes -
        Attachment state_transition.png [ 12533900 ]
        Hide
        Virag Kothari added a comment -

        State transition with the new states for coordinator job added

        Show
        Virag Kothari added a comment - State transition with the new states for coordinator job added
        Gavin made changes -
        Workflow jira [ 12654312 ] no-reopen-closed, patch-avail [ 12655944 ]
        Hide
        Virag Kothari added a comment -

        The state transition design is attached. Any comments will be appreciated.

        Show
        Virag Kothari added a comment - The state transition design is attached. Any comments will be appreciated.
        Virag Kothari made changes -
        Field Original Value New Value
        Attachment Oozie state transitions.xlsx [ 12515511 ]
        Virag Kothari created issue -

          People

          • Assignee:
            Virag Kothari
            Reporter:
            Virag Kothari
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development