accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afu...@apache.org
Subject svn commit: r1357885 - /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java
Date Thu, 05 Jul 2012 20:31:00 GMT
Author: afuchs
Date: Thu Jul  5 20:31:00 2012
New Revision: 1357885

URL: http://svn.apache.org/viewvc?rev=1357885&view=rev
Log:
ACCUMULO-668

Modified:
    accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java

Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java?rev=1357885&r1=1357884&r2=1357885&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java
(original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java
Thu Jul  5 20:31:00 2012
@@ -632,6 +632,7 @@ public final class BCFile {
         }
         
         dataIndex = new DataIndex(cachedDataIndex);
+        cachedDataIndex.close();
         
       } else {
         // Logger.getLogger(Reader.class).debug("Read bcfile !METADATA from cache");
@@ -639,7 +640,6 @@ public final class BCFile {
         metaIndex = new MetaIndex(cachedMetaIndex);
         dataIndex = new DataIndex(cachedDataIndex);
       }
-      
     }
     
     /**



Mime
View raw message