hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-17929 addendum fix typo and modify printUsage
Date Wed, 19 Apr 2017 13:06:44 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 972e8c8c2 -> 3acd8e464


HBASE-17929 addendum fix typo and modify printUsage


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

Branch: refs/heads/master
Commit: 3acd8e4644c111560502ecc06e10d04dd204a06a
Parents: 972e8c8
Author: zhangduo <zhangduo@apache.org>
Authored: Wed Apr 19 21:02:47 2017 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Wed Apr 19 21:03:09 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/PerformanceEvaluation.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3acd8e46/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 f58c025..a3d3254 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
@@ -1907,6 +1907,9 @@ public class PerformanceEvaluation extends Configured implements Tool
{
     System.err.println(" replicas        Enable region replica testing. Defaults: 1.");
     System.err.println(" randomSleep     Do a random sleep before each get between 0 and
entered value. Defaults: 0");
     System.err.println(" caching         Scan caching to use. Default: 30");
+    System.err.println(" asyncPrefetch   Enable asyncPrefetch for scan");
+    System.err.println(" cacheBlocks     Set the cacheBlocks option for scan. Default: true");
+    System.err.println(" scanReadType    Set the readType option for scan, stream/pread/default.
Default: default");
     System.err.println();
     System.err.println(" Note: -D properties will be applied to the conf used. ");
     System.err.println("  For example: ");
@@ -2175,7 +2178,7 @@ public class PerformanceEvaluation extends Configured implements Tool
{
       }
 
       final String scanReadType = "--scanReadType=";
-      if (cmd.startsWith(cacheBlocks)) {
+      if (cmd.startsWith(scanReadType)) {
         opts.scanReadType =
             Scan.ReadType.valueOf(cmd.substring(scanReadType.length()).toUpperCase());
         continue;


Mime
View raw message