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

Oozie does not cleanup action dir of killed actions

    Details

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

      Description

      There is corner case where leaking happens.
      when workflow KillCommand is issued, WfEndXCommand is invoked in the end finally block, and WfEndXCommand.deleteWFDir() kills action Dir (e.g., /user/satish/oozie_satish/123450-15000000000000-oozie_satish-W)
      but, when this happens right before launcher mapper uploading actionData to HDFS, previously deleted actionDir is created again. the actionDir will not be cleaned up after. This leak can fill up namespace quota of user over a period of time.

      The solution is to delete clean up action dir in ActionKillXCommand.

        Attachments

        1. OOZIE-2475-1.patch
          5 kB
          Satish Subhashrao Saley

          Issue Links

            Activity

              People

              • Assignee:
                satishsaley Satish Subhashrao Saley
                Reporter:
                satishsaley Satish Subhashrao Saley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: