hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r502726 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/IsolationRunner.java
Date Fri, 02 Feb 2007 20:25:31 GMT
Author: cutting
Date: Fri Feb  2 12:25:30 2007
New Revision: 502726

URL: http://svn.apache.org/viewvc?view=rev&rev=502726
Log:
HADOOP-965.  Fix IsolationRunner so that the job's jar can be found.  Contributed by Dennis
Kubes.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/IsolationRunner.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=502726&r1=502725&r2=502726
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Feb  2 12:25:30 2007
@@ -140,6 +140,9 @@
 43. HADOOP-862.  Add support for the S3 FileSystem to the CopyFiles
     tool.  (Michael Stack via cutting)
 
+44. HADOOP-965.  Fix IsolationRunner so that job's jar can be found.
+    (Dennis Kubes via cutting)
+
 
 Release 0.10.1 - 2007-01-10
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/IsolationRunner.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/IsolationRunner.java?view=diff&rev=502726&r1=502725&r2=502726
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/IsolationRunner.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/IsolationRunner.java Fri Feb  2
12:25:30 2007
@@ -140,7 +140,8 @@
     
     // setup the local and user working directories
     FileSystem local = FileSystem.getLocal(conf);
-    File workDirName = new File(jobFilename.getParent(), "work");
+    File taskDir = new File(jobFilename.getParent());
+    File workDirName = new File(taskDir.getParent(), "work");
     local.setWorkingDirectory(new Path(workDirName.toString()));
     FileSystem.get(conf).setWorkingDirectory(conf.getWorkingDirectory());
     



Mime
View raw message