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

Oozie is creating many files and directories in /tmp per day

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 4.2.0
    • trunk
    • None

    Description

      Oozie generate many tmp files, I have over 2000 files in /tmp from oozie, that have been created over the last 7 days:

      drwxr-xr-x 3 root root   22 Apr 22 14:19 /tmp/oozie-war-packing-24575
      drwxr-xr-x 3 root root   22 Apr 22 14:15 /tmp/oozie-war-packing-12211
      drwxr-xr-x 3 root root   22 Apr 22 14:10 /tmp/oozie-war-packing-32238
      drwxr-xr-x 2 test test    6 Apr 22 13:54 /tmp/oozie-test8457897583638353023.dir
      -rw-r--r-- 1 test test    0 Apr 22 13:54 /tmp/ooziedb-2680155694357966339.sql
      drwxr-xr-x 2 test test    6 Apr 22 13:53 /tmp/oozie-test142692242798969000.dir
      -rw-r--r-- 1 test test    0 Apr 22 13:53 /tmp/ooziedb-9104680045020610294.sql
      drwxr-xr-x 2 test test    6 Apr 22 13:53 /tmp/oozie-test5885601734493698256.dir
      -rw-r--r-- 1 test test    0 Apr 22 13:53 /tmp/ooziedb-4675739133078261538.sql
      drwxr-xr-x 2 test test    6 Apr 22 13:53 /tmp/oozie-test5565479595579419225.dir
      [root@test-node ext-conf]# ls -ldt /tmp/ooz* | tail
      drwxr-xr-x 3 root root   22 Apr 13 08:17 /tmp/oozie-war-packing-22705
      drwxr-xr-x 3 root root   22 Apr 13 08:16 /tmp/oozie-war-packing-18292
      drwxr-xr-x 3 root root   22 Apr 13 08:09 /tmp/oozie-war-packing-20289
      drwxr-xr-x 3 root root   22 Apr 13 08:09 /tmp/oozie-war-packing-18417
      drwxr-xr-x 3 root root   22 Apr 13 08:08 /tmp/oozie-war-packing-14712
      drwxr-xr-x 3 root root   22 Apr 13 08:05 /tmp/oozie-war-packing-25206
      drwxr-xr-x 3 root root   22 Apr 13 07:53 /tmp/oozie-war-packing-968
      drwxr-xr-x 3 root root   22 Apr 13 07:52 /tmp/oozie-war-packing-27771
      drwxr-xr-x 3 root root   22 Apr 13 07:45 /tmp/oozie-war-packing-30342
      drwxr-xr-x 3 root root   22 Apr 13 07:45 /tmp/oozie-war-packing-29086
      

      This files can be moved into oozie tmp dir (something like this /tmp/oozieTmp) and also we could cleanup old files

      Attachments

        1. OOZIE-2518.patch
          4 kB
          Sergey Svynarchuk

        Activity

          People

            vaifer Sergey Svynarchuk
            vaifer Sergey Svynarchuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: