From f7d02a07d8c35cc478f43c314611fee6511d78bd Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Fri, 22 Mar 2013 16:42:24 +0000 Subject: [PATCH] HBASE-7953 Addendum fixes syntax error git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1459893 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hadoop/hbase/HFilePerformanceEvaluation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java index 1ce6d069abb..6783cbf9614 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java @@ -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; }