Repository: hbase Updated Branches: refs/heads/master dde713ee4 -> 4d7c65ae8
HBASE-12824 CompressionTest fails with org.apache.hadoop.hbase.io.hfile.AbstractHFileReader: Not seeked to a key/value Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4d7c65ae Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4d7c65ae Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4d7c65ae Branch: refs/heads/master Commit: 4d7c65ae849355849f24a1d0a6f7c87ad18d3bb7 Parents: dde713e Author: Enis Soztutar <e...@apache.org> Authored: Thu Jan 8 15:51:30 2015 -0800 Committer: Enis Soztutar <e...@apache.org> Committed: Thu Jan 8 15:51:30 2015 -0800 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hbase/util/CompressionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/4d7c65ae/hbase-server/src/main/java/org/apache/hadoop/hbase/util/CompressionTest.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/CompressionTest.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/CompressionTest.java index 034a1e2..5ec13f4 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/CompressionTest.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/CompressionTest.java @@ -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) {