hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1523138 - /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java
Date Fri, 13 Sep 2013 23:00:25 GMT
Author: stack
Date: Fri Sep 13 23:00:25 2013
New Revision: 1523138

URL: http://svn.apache.org/r1523138
Log:
HBASE-7953 Some HFilePerformanceEvaluation tests might fail because of scanner.getValue when
there is no more row; ADDENDUM

Modified:
    hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java

Modified: hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java?rev=1523138&r1=1523137&r2=1523138&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java
(original)
+++ hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java
Fri Sep 13 23:00:25 2013
@@ -346,7 +346,7 @@ public class HFilePerformanceEvaluation 
     void doRow(int i) throws Exception {
       HFileScanner scanner = this.reader.getScanner(false, true);
       byte[] gaussianRandomRowBytes = getGaussianRandomRowBytes();
-      if (scanner.seekTo(gaussianRandomRowBytes < 0) {
+      if (scanner.seekTo(gaussianRandomRowBytes) < 0) {
         LOG.info("Not able to seekTo " + new String(gaussianRandomRowBytes));
         return;
       }



Mime
View raw message