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

Skip queuing Notification Commands when there's nothing to notify

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.3
    • Fix Version/s: trunk
    • Component/s: None
    • Labels:
      None

      Description

      When you use the Workflow or Coordinator Notification features, Oozie can end up queuing up a lot of WorkflowNotificationXCommand and CoordActionNotificationXCommand. This happens even if there's no notification configured on the job (which I imagine is most of the time); in this case, the execute method simply does nothing. This is wasteful and clogs the queue up.

      We should change the code so that it doesn't queue up one of these Commands unless there's actually a URL to notify.

        Attachments

        1. OOZIE-2644.1.patch
          77 kB
          seoeun
        2. OOZIE-2644.2.patch
          76 kB
          seoeun

          Issue Links

            Activity

              People

              • Assignee:
                seoeun25 seoeun
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: