hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r605277 - in /lucene/hadoop/trunk/src/contrib/hbase: CHANGES.txt src/java/org/apache/hadoop/hbase/shell/HelpCommand.java
Date Tue, 18 Dec 2007 18:06:47 GMT
Author: stack
Date: Tue Dec 18 10:06:45 2007
New Revision: 605277

URL: http://svn.apache.org/viewvc?rev=605277&view=rev
Log:
HADOOP-2455 Error in Help-string of create command

Modified:
    lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpCommand.java

Modified: lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt?rev=605277&r1=605276&r2=605277&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt Tue Dec 18 10:06:45 2007
@@ -85,6 +85,8 @@
    HADOOP-2199 Add tools for going from hregion filename to region name in logs
    HADOOP-2441 Fix build failures in TestHBaseCluster
    HADOOP-2451 End key is incorrectly assigned in many region splits
+   HADOOP-2455 Error in Help-string of CREATE command (Edward Yoon via Stack)
+         
    
   IMPROVEMENTS
    HADOOP-2401 Add convenience put method that takes writable

Modified: lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpCommand.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpCommand.java?rev=605277&r1=605276&r2=605277&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpCommand.java
(original)
+++ lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpCommand.java
Tue Dec 18 10:06:45 2007
@@ -30,8 +30,8 @@
 
 public class HelpCommand extends BasicCommand {
   private String argument;
-  private static final String[] HEADER = new String[] { "Command", "Description",
-      "Example" };
+  private static final String[] HEADER = new String[] { "Command",
+      "Description", "Example" };
 
   /** application name */
   public static final String APP_NAME = "Hbase Shell";
@@ -90,8 +90,8 @@
                 "Create tables",
                 "CREATE TABLE table_name (column_family_name [MAX_VERSIONS=n] "
                     + "[MAX_LENGTH=n] [COMPRESSION=NONE|RECORD|BLOCK] [IN_MEMORY] "
-                    + "[BLOOMFILTER=NONE|BLOOM|COUNTING|RETOUCHED VECTOR_SIZE=n NUM_HASH=n],
"
-                    + "...)" });
+                    + "[BLOOMFILTER=NONE|BLOOMFILTER|COUNTING_BLOOMFILTER|RETOUCHED_BLOOMFILTER
"
+                    + "VECTOR_SIZE=n NUM_HASH=n], " + "...)" });
     load.put("DROP", new String[] { "Drop tables",
         "DROP TABLE table_name [, table_name] ...;" });
 
@@ -126,8 +126,8 @@
     // model of
     // data.
 
-    load
-        .put("TABLE", new String[] { "Load a table", "A = table('table_name');" });
+    load.put("TABLE",
+        new String[] { "Load a table", "A = table('table_name');" });
     load.put("SUBSTITUTE", new String[] { "Substitute expression to [A~Z]",
         "D = A.projection('cf_name1'[, 'cf_name2']);" });
     load.put("SAVE", new String[] {



Mime
View raw message