pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r698022 - in /incubator/pig/branches/types: CHANGES.txt src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
Date Mon, 22 Sep 2008 22:24:00 GMT
Author: olga
Date: Mon Sep 22 15:23:58 2008
New Revision: 698022

URL: http://svn.apache.org/viewvc?rev=698022&view=rev
Log:
PIG-444: conf files left behind

Modified:
    incubator/pig/branches/types/CHANGES.txt
    incubator/pig/branches/types/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java

Modified: incubator/pig/branches/types/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/pig/branches/types/CHANGES.txt?rev=698022&r1=698021&r2=698022&view=diff
==============================================================================
--- incubator/pig/branches/types/CHANGES.txt (original)
+++ incubator/pig/branches/types/CHANGES.txt Mon Sep 22 15:23:58 2008
@@ -233,3 +233,5 @@
 
     PIG-445: Null Pointer Exceptions in the mappers leading to lot of retries
     (shravanmn via olgan)
+
+    PIG-444: job.jar is left behined (pradeepk via olgan)

Modified: incubator/pig/branches/types/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
URL: http://svn.apache.org/viewvc/incubator/pig/branches/types/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java?rev=698022&r1=698021&r2=698022&view=diff
==============================================================================
--- incubator/pig/branches/types/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
(original)
+++ incubator/pig/branches/types/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
Mon Sep 22 15:23:58 2008
@@ -254,6 +254,8 @@
         try{
             //Create the jar of all functions reuired
             File submitJarFile = File.createTempFile("Job", ".jar");
+            // ensure the job jar is deleted on exit
+            submitJarFile.deleteOnExit();
             FileOutputStream fos = new FileOutputStream(submitJarFile);
             JarManager.createJar(fos, mro.UDFs, pigContext);
             



Mime
View raw message