hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerry...@apache.org
Subject hbase git commit: HBASE-15841 Performance Evaluation tool total rows may not be set correctly
Date Wed, 18 May 2016 19:20:02 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 8566fd0f1 -> 4b1221398


HBASE-15841 Performance Evaluation tool total rows may not be set correctly


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4b122139
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4b122139
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4b122139

Branch: refs/heads/branch-1.3
Commit: 4b1221398b18aaf749d522fb4f7b1594a7468aad
Parents: 8566fd0
Author: Jerry He <jerryjch@apache.org>
Authored: Wed May 18 12:15:18 2016 -0700
Committer: Jerry He <jerryjch@apache.org>
Committed: Wed May 18 12:18:20 2016 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/4b122139/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
index 7dced80..12f5073 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
@@ -2074,8 +2074,7 @@ public class PerformanceEvaluation extends Configured implements Tool
{
           // total size in GB specified
           opts.totalRows = (int) opts.size * rowsPerGB;
           opts.perClientRunRows = opts.totalRows / opts.numClientThreads;
-        } else if (opts.perClientRunRows != DEFAULT_OPTS.perClientRunRows) {
-          // number of rows specified
+        } else {
           opts.totalRows = opts.perClientRunRows * opts.numClientThreads;
           opts.size = opts.totalRows / rowsPerGB;
         }


Mime
View raw message