Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9737

JarFinder#getJar should delete the jar file upon destruction of the JVM

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Once JarFinder.getJar() is invoked by a client app, it would be really useful to destroy the generated JAR after the JVM is destroyed by setting tempJar.deleteOnExit(). In order to preserve backwards compatibility a configuration setting could be implemented, e.g. test.build.dir.purge.on.exit

        Attachments

        1. HADOOP-9737.patch
          0.7 kB
          Jean-Baptiste Onofré

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              esteban Esteban Gutierrez
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: