StoreFile.Reader reader = new StoreFile.Reader(
fs,
f,
new CacheConfig(fs.getConf()),
DataBlockEncoding.NONE);
StoreFileScanner scanner = reader.getStoreFileScanner(false, false);
scanner.seek(fakeKV); // have to call seek of each underlying scanner, otherwise KeyValueHeap won't work
scanners.add(scanner);
}
assertTrue(!scanners.isEmpty());
KeyValueScanner kvh = new KeyValueHeap(scanners, KeyValue.COMPARATOR);
boolean seekOk = kvh.seek(fakeKV);