hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r500389 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/PhasedFileSystem.java
Date Fri, 26 Jan 2007 22:36:13 GMT
Author: cutting
Date: Fri Jan 26 14:36:12 2007
New Revision: 500389

URL: http://svn.apache.org/viewvc?view=rev&rev=500389
Log:
HADOOP-929.  Fix PhasedFileSystem to pass Configuration to underlying FileSystem.  Contributed
by Sanjay.

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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=500389&r1=500388&r2=500389
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Jan 26 14:36:12 2007
@@ -70,6 +70,9 @@
 21. HADOOP-732.  Add support to SequenceFile for arbitrary metadata,
     as a set of attribute value pairs.  (Runping Qi via cutting)
 
+22. HADOOP-929.  Fix PhasedFileSystem to pass configuration to
+    underlying FileSystem.  (Sanjay Dahiya via cutting)
+
 
 Release 0.10.1 - 2007-01-10
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/PhasedFileSystem.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/PhasedFileSystem.java?view=diff&rev=500389&r1=500388&r2=500389
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/PhasedFileSystem.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/PhasedFileSystem.java Fri Jan 26
14:36:12 2007
@@ -56,6 +56,7 @@
     this.taskid = taskid ; 
     
     tempDir = new Path(baseFS.getConf().get("mapred.system.dir") ); 
+    this.setConf(fs.getConf());
   }
   /**
    * This Constructor is used to wrap a FileSystem object to a 
@@ -69,7 +70,8 @@
     this.tipid = conf.get("mapred.tip.id"); 
     this.taskid = conf.get("mapred.task.id") ; 
     
-    tempDir = new Path(baseFS.getConf().get("mapred.system.dir") ); 
+    tempDir = new Path(baseFS.getConf().get("mapred.system.dir") );
+    this.setConf(fs.getConf());
   }
   /**
    * This Constructor should not be used in this or any derived class. 



Mime
View raw message