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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.8.0, 3.0.0-alpha1
    • util
    • None
    • 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

            jbonofre Jean-Baptiste Onofré
            esteban Esteban Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: