hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject svn commit: r1352709 - in /hadoop/common/branches/branch-1-win: CHANGES.txt src/test/org/apache/hadoop/io/TestSequenceFile.java
Date Thu, 21 Jun 2012 21:44:36 GMT
Author: sradia
Date: Thu Jun 21 21:44:36 2012
New Revision: 1352709

URL: http://svn.apache.org/viewvc?rev=1352709&view=rev
Log:
HADOOP-8486 Resource leak ... SequenceFile  (Fix with HADOOP-8486-branch-1-win-(5).patch)
(Kanna Karanam via Sanjay)

Modified:
    hadoop/common/branches/branch-1-win/CHANGES.txt
    hadoop/common/branches/branch-1-win/src/test/org/apache/hadoop/io/TestSequenceFile.java

Modified: hadoop/common/branches/branch-1-win/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/CHANGES.txt?rev=1352709&r1=1352708&r2=1352709&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1-win/CHANGES.txt Thu Jun 21 21:44:36 2012
@@ -44,6 +44,8 @@ branch-hadoop-1-win - unreleased
 
     HADOOP-8486 Resource leak ... SequenceFile  (Kanna Karanam via Sanjay)
 
+    HADOOP-8486 Resource leak ... SequenceFile  (Fix with HADOOP-8486-branch-1-win-(5).patch)
(Kanna Karanam via Sanjay)
+
 Release 1.1.0 - unreleased
 
   NEW FEATURES

Modified: hadoop/common/branches/branch-1-win/src/test/org/apache/hadoop/io/TestSequenceFile.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/src/test/org/apache/hadoop/io/TestSequenceFile.java?rev=1352709&r1=1352708&r2=1352709&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/src/test/org/apache/hadoop/io/TestSequenceFile.java
(original)
+++ hadoop/common/branches/branch-1-win/src/test/org/apache/hadoop/io/TestSequenceFile.java
Thu Jun 21 21:44:36 2012
@@ -56,7 +56,7 @@ public class TestSequenceFile extends Te
         new Path(System.getProperty("test.build.data",".")+"/nonSequenceFile.seq");
     SequenceFile.Reader reader = null;
     FileSystem fs = FileSystem.getLocal(conf);
-    File f = new File(nonSeqFile.getUriPath());
+    File f = new File(nonSeqFile.toUri().getPath());
     if(!f.exists()) {
       fs.createNewFile(nonSeqFile);
     }



Mime
View raw message