Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1449

Coordinator Workflow parent relationship is broken for purge service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • trunk
    • 4.1.0
    • core
    • None

    Description

      OOZIE-1118 improved the logic of the purge service to take into account the parent-child relationships of bundle, coordinator, workflow, and subworkflow jobs. However, in queries (and test code) dealing with the coordinator parent of a workflow, it is incorrectly using the coordinator job id instead of the coordinator action id.

      This means that the purging logic won't properly associate workflows with their parent coordinators; all jobs should eventually be purged, so its not completely broken, but it is currently possible for child workflows to be purged before their coordinator parents (the correct behavior is for no child or parent to be purged until the parent and all children are ready).

      This doesn't affect the coordinator-bundle or subworkflow-workflow relationships because they use their parent is the job id not the action id; only the workflow-coordinator relationship uses the coordinator action id as the parent id for the workflow job.

      Attachments

        1. OOZIE-1449.patch
          73 kB
          Robert Kanter
        2. OOZIE-1449.patch
          74 kB
          Robert Kanter
        3. OOZIE-1449.patch
          74 kB
          Robert Kanter
        4. OOZIE-1449.patch
          74 kB
          Robert Kanter
        5. OOZIE-1449.patch
          74 kB
          Robert Kanter

        Issue Links

          Activity

            People

              rkanter Robert Kanter
              rkanter Robert Kanter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: