Repository: accumulo
Updated Branches:
  refs/heads/master 0b1eabc5b -> 125557476


ACCUMULO-4097 use sensible defaults for required options


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

Branch: refs/heads/master
Commit: 1255574768f90db286d7c6d127c58033e0009ddb
Parents: 0b1eabc
Author: Eric C. Newton <eric.new...@gmail.com>
Authored: Mon Jan 4 13:24:59 2016 -0500
Committer: Eric C. Newton <eric.new...@gmail.com>
Committed: Mon Jan 4 13:24:59 2016 -0500

----------------------------------------------------------------------
 .../apache/accumulo/test/continuous/ContinuousVerify.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/12555747/test/src/main/java/org/apache/accumulo/test/continuous/ContinuousVerify.java
----------------------------------------------------------------------
diff --git 
a/test/src/main/java/org/apache/accumulo/test/continuous/ContinuousVerify.java 
b/test/src/main/java/org/apache/accumulo/test/continuous/ContinuousVerify.java
index 8a8a9a2..3380559 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/continuous/ContinuousVerify.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/continuous/ContinuousVerify.java
@@ -143,14 +143,14 @@ public class ContinuousVerify extends Configured 
implements Tool {
   }
 
   static class Opts extends MapReduceClientOnDefaultTable {
-    @Parameter(names = "--output", description = "location in HDFS to store 
the results; must not exist", required = true)
+    @Parameter(names = "--output", description = "location in HDFS to store 
the results; must not exist")
     String outputDir = "/tmp/continuousVerify";
 
-    @Parameter(names = "--maxMappers", description = "the maximum number of 
mappers to use", required = true, validateWith = PositiveInteger.class)
-    int maxMaps = 0;
+    @Parameter(names = "--maxMappers", description = "the maximum number of 
mappers to use", validateWith = PositiveInteger.class)
+    int maxMaps = 1;
 
-    @Parameter(names = "--reducers", description = "the number of reducers to 
use", required = true, validateWith = PositiveInteger.class)
-    int reducers = 0;
+    @Parameter(names = "--reducers", description = "the number of reducers to 
use", validateWith = PositiveInteger.class)
+    int reducers = 1;
 
     @Parameter(names = "--offline", description = "perform the verification 
directly on the files while the table is offline")
     boolean scanOffline = false;

Reply via email to