Oozie
  1. Oozie
  2. OOZIE-1783

Sharelib purging only occurs at Oozie startup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      The purgeLibs method only gets called on startup of the first Oozie server. This means that if you update the sharelib without restarting Oozie, then Oozie will never clean up the old sharelibs and launcherlibs until you restart the server. In fact, with Oozie HA, it will never clean up unless you restart all of the servers at the same time (in other words, a rolling restart or just restarting one Oozie will never cause purgeLibs to get called).

      This should be moved into a background thread (i.e. scheduled with SchedulerService) to run periodically. Once a day is probably good enough, but we could make it configurable if needed.

      1. OOZIE-1783.patch
        30 kB
        Robert Kanter
      2. OOZIE-1783.patch
        31 kB
        Robert Kanter

        Activity

        Robert Kanter created issue -
        Robert Kanter made changes -
        Field Original Value New Value
        Assignee Robert Kanter [ rkanter ]
        Robert Kanter made changes -
        Attachment OOZIE-1783.patch [ 12645112 ]
        Robert Kanter made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Robert Kanter made changes -
        Attachment OOZIE-1783.patch [ 12645271 ]
        Robert Kanter made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s trunk [ 12323240 ]
        Resolution Fixed [ 1 ]
        Rohini Palaniswamy made changes -
        Fix Version/s 4.1.0 [ 12324960 ]
        Fix Version/s trunk [ 12323240 ]
        Bowen Zhang made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development