hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject hbase git commit: HBASE-15841 Performance Evaluation tool total rows may not be set correctly
Date Thu, 26 May 2016 23:00:22 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 734c50bc6 -> 30cf57283


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

Branch: refs/heads/0.98
Commit: 30cf572836aeae318f8fddf5fb35ac27367edb2f
Parents: 734c50b
Author: Jerry He <jerryjch@apache.org>
Authored: Wed May 18 12:15:18 2016 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu May 26 16:00:08 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/30cf5728/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 c582729..6a144a0 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
@@ -2029,8 +2029,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