hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r597725 - in /lucene/hadoop/trunk/src/contrib/hbase: CHANGES.txt src/java/org/apache/hadoop/hbase/Shell.java
Date Fri, 23 Nov 2007 19:16:46 GMT
Author: stack
Date: Fri Nov 23 11:16:45 2007
New Revision: 597725

URL: http://svn.apache.org/viewvc?rev=597725&view=rev
Log:
HADOOP-2267 Change the hbase shell prompt's title

Modified:
    lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.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=597725&r1=597724&r2=597725&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt Fri Nov 23 11:16:45 2007
@@ -41,6 +41,7 @@
     HADOOP-2157 Make Scanners implement Iterable
     HADOOP-2176 Htable.deleteAll documentation is ambiguous
     HADOOP-2139 (phase 1) Increase parallelism in region servers.
+    HADOOP-2267 [Hbase Shell] Change the prompt's title from 'hbase' to 'hql'.
 
 Release 0.15.1
 Branch 0.15

Modified: lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java?rev=597725&r1=597724&r2=597725&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java Fri
Nov 23 11:16:45 2007
@@ -25,7 +25,6 @@
 
 import jline.ConsoleReader;
 
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.shell.Command;
 import org.apache.hadoop.hbase.shell.HelpCommand;
 import org.apache.hadoop.hbase.shell.ReturnMsg;
@@ -43,7 +42,6 @@
   /** audible keyboard bells */
   public static final boolean DEFAULT_BELL_ENABLED = true;
   
-
   /** Return the boolean value indicating whether end of command or not */
   static boolean isEndOfCommand(String line) {
     return (line.lastIndexOf(';') > -1) ? true : false;
@@ -51,7 +49,7 @@
 
   /** Return the string of prompt start string */
   private static String getPrompt(final StringBuilder queryStr) {
-    return (queryStr.toString().equals("")) ? "Hbase> " : "   --> ";
+    return (queryStr.toString().equals("")) ? "hql > " : "  --> ";
   }
 
   /**



Mime
View raw message