Index: ../hbase-0.18.0/src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java =================================================================== --- ../hbase-0.18.0/src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java (revision 699605) +++ ../hbase-0.18.0/src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java Tue Sep 30 21:25:25 CST 2008 @@ -598,7 +598,7 @@ /** * A reader capable of reading and caching blocks of the data file. */ - static class HbaseReader extends MapFile.Reader { + static class HbaseReader extends MonitoredReader { private final boolean blockCacheEnabled; @@ -627,9 +627,10 @@ boolean blockCacheEnabled, HRegionInfo hri) throws IOException { super(fs, dirName, new HStoreKey.HStoreKeyWritableComparator(hri), - conf, false); // defer opening streams + conf); // defer opening streams this.blockCacheEnabled = blockCacheEnabled; - open(fs, dirName, new HStoreKey.HStoreKeyWritableComparator(hri), conf); +// MonitoredReader will open on time. +// open(fs, dirName, new HStoreKey.HStoreKeyWritableComparator(hri), conf); // Force reading of the mapfile index by calling midKey. // Reading the index will bring the index into memory over