hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r536583 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/fs/FilterFileSystem.java
Date Wed, 09 May 2007 17:00:26 GMT
Author: cutting
Date: Wed May  9 10:00:24 2007
New Revision: 536583

URL: http://svn.apache.org/viewvc?view=rev&rev=536583
Log:
HADOOP-1160.  Fix DistributedFileSystem.close() to close the underlying FileSystem.  Contributed
by Hairong.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FilterFileSystem.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=536583&r1=536582&r2=536583
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed May  9 10:00:24 2007
@@ -371,6 +371,10 @@
 108. HADOOP-1255.  Fix a bug where the namenode falls into an infinite
      loop trying to remove a dead node.  (Hairong Kuang via cutting)
 
+109. HADOOP-1160.  Fix DistributedFileSystem.close() to close the
+     underlying FileSystem, correctly aborting files being written.
+     (Hairong Kuang via cutting)
+
 
 Release 0.12.3 - 2007-04-06
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FilterFileSystem.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FilterFileSystem.java?view=diff&rev=536583&r1=536582&r2=536583
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FilterFileSystem.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FilterFileSystem.java Wed May  9 10:00:24
2007
@@ -299,4 +299,10 @@
   public Configuration getConf() {
     return fs.getConf();
   }
+  
+  @Override
+  public void close() throws IOException {
+    super.close();
+    fs.close();
+  }
 }



Mime
View raw message