hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-12824 CompressionTest fails with org.apache.hadoop.hbase.io.hfile.AbstractHFileReader: Not seeked to a key/value
Date Thu, 08 Jan 2015 23:57:59 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 483e55e2f -> 5041e7eb7


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/5041e7eb
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5041e7eb
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5041e7eb

Branch: refs/heads/branch-1.0
Commit: 5041e7eb742e3679ebc17be1b6ad8a1e70662d22
Parents: 483e55e
Author: Enis Soztutar <enis@apache.org>
Authored: Thu Jan 8 15:51:30 2015 -0800
Committer: Enis Soztutar <enis@apache.org>
Committed: Thu Jan 8 15:51:45 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/5041e7eb/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 fd65754..f826e74 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) {


Mime
View raw message