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:17:55 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 98aa826b7 -> 58131946d


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

Branch: refs/heads/branch-1.2
Commit: 58131946d0160fb9c8184afce929bbbba1268939
Parents: 98aa826
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:16:18 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/58131946/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 05d788e..8af2a7e 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
@@ -2084,8 +2084,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