HBASE-12824 CompressionTest fails with org.apache.hadoop.hbase.io.hfile.AbstractHFileReader: Not seeked to a key/value

This commit is contained in:
Enis Soztutar 2015-01-08 15:51:30 -08:00
parent dde713ee4e
commit 4d7c65ae84
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class CompressionTest {
try {
reader.loadFileInfo();
HFileScanner scanner = reader.getScanner(false, true);
scanner.next();
scanner.seekTo(); // position to the start of file
// Scanner does not do Cells yet. Do below for now till fixed.
cc = scanner.getKeyValue();
if (CellComparator.compareRows(c, cc) != 0) {