incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [04/27] git commit: Option cleanup.
Date Fri, 09 Aug 2013 17:24:09 GMT
Option cleanup.


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

Branch: refs/heads/0.2.0-newtypesystem
Commit: ee1c5b103cdac65ea9dfff83231fee0dd116cbdc
Parents: ab5f4ab
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Aug 6 18:28:24 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Aug 6 18:28:24 2013 -0400

----------------------------------------------------------------------
 .../org/apache/blur/mapreduce/lib/CsvBlurDriver.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ee1c5b10/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
----------------------------------------------------------------------
diff --git a/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java b/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
index 824ce23..f1b81b3 100644
--- a/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
+++ b/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
@@ -203,23 +203,23 @@ public class CsvBlurDriver {
 
   private static CommandLine parse(String... otherArgs) throws ParseException {
     Options options = new Options();
-    options.addOption(OptionBuilder.withArgName("controller").hasArgs().isRequired(true)
+    options.addOption(OptionBuilder.withArgName("controller*").hasArgs().isRequired(true)
         .withDescription("* Thrift controller connection string. (host1:40010 host2:40010
...)").create("c"));
     options.addOption(OptionBuilder.withArgName("tablename").hasArg().isRequired(true)
         .withDescription("* Blur table name.").create("t"));
-    options.addOption(OptionBuilder.withArgName("family and column definitions").hasArgs().isRequired(true)
+    options.addOption(OptionBuilder.withArgName("family column*").hasArgs().isRequired(true)
         .withDescription("* Define the mapping of fields in the CSV file to column names.
(family col1 col2 col3 ...)")
         .create("d"));
     options.addOption(OptionBuilder
-        .withArgName("file delimiter")
+        .withArgName("delimiter")
         .hasArg()
         .withDescription(
             "The file delimiter to be used. (default value ',')  NOTE: For special "
                 + "charactors like the default hadoop separator of ASCII value 1, you can
use standard "
                 + "java escaping (\\u0001)").create("s"));
-    options.addOption(OptionBuilder.withArgName("file input").hasArg()
+    options.addOption(OptionBuilder.withArgName("path*").hasArg()
         .withDescription("The directory to index. (hdfs://namenode/input/in1)").create("i"));
-    options.addOption(OptionBuilder.withArgName("file input").hasArgs()
+    options.addOption(OptionBuilder.withArgName("family path*").hasArgs()
         .withDescription("The directory to index with family name. (family hdfs://namenode/input/in1)").create("I"));
     options.addOption(OptionBuilder
         .withArgName("auto generate record ids")
@@ -242,13 +242,13 @@ public class CsvBlurDriver {
     options.addOption(OptionBuilder.withArgName("sequence files inputs")
         .withDescription("The input files are sequence files.").create("S"));
     options.addOption(OptionBuilder
-        .withArgName("lucene document buffer size")
+        .withArgName("size")
         .hasArg()
         .withDescription(
             "The maximum number of Lucene documents to buffer in the reducer for a single
"
                 + "row before spilling over to disk. (default 1000)").create("b"));
     options.addOption(OptionBuilder
-        .withArgName("reducer multiplier")
+        .withArgName("multiplier")
         .hasArg()
         .withDescription(
             "The reducer multipler allows for an increase in the number of reducers per "


Mime
View raw message