You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by af...@apache.org on 2012/07/05 22:31:00 UTC

svn commit: r1357885 - /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java

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);
       }
-      
     }
     
     /**