HBASE-12824 CompressionTest fails with org.apache.hadoop.hbase.io.hfile.AbstractHFileReader: Not seeked to a key/value
This commit is contained in:
parent
dde713ee4e
commit
4d7c65ae84
|
@ -135,7 +135,7 @@ public class CompressionTest {
|
||||||
try {
|
try {
|
||||||
reader.loadFileInfo();
|
reader.loadFileInfo();
|
||||||
HFileScanner scanner = reader.getScanner(false, true);
|
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.
|
// Scanner does not do Cells yet. Do below for now till fixed.
|
||||||
cc = scanner.getKeyValue();
|
cc = scanner.getKeyValue();
|
||||||
if (CellComparator.compareRows(c, cc) != 0) {
|
if (CellComparator.compareRows(c, cc) != 0) {
|
||||||
|
|
Loading…
Reference in New Issue