You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ol...@apache.org on 2008/09/23 00:24:00 UTC
svn commit: r698022 - in /incubator/pig/branches/types: CHANGES.txt
src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
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);