hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Wittel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7263) Hadoop Streaming (StreamJob) does not delete temporary job/package jar
Date Fri, 06 May 2011 16:32:03 GMT
Hadoop Streaming (StreamJob) does not delete temporary job/package jar

                 Key: HADOOP-7263
                 URL: https://issues.apache.org/jira/browse/HADOOP-7263
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.21.0, 0.20.2, 0.20.3, 0.20.4
            Reporter: Greg Wittel
            Priority: Minor

The streaming job driver (org.apache.hadoop.streaming.StreamJob) does not delete the temporary
JAR file it generates after a job completes.  Without the fix, /var/tmp fills up  with streaming
job jars until they get wiped.

The jar name is stored in the class variable 'jar_'.  The JAR is generated in 'packageJobJar()'
and the name stored in jar_.

Fix:  run()/submitAndMonitorJob() should clean up the jar_ file when done.  Or the JAR could
be generatd as a tempfile and cleaned up automatically.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message