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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development