org.apache.hadoop.conf.Configuration



Project apache/hbase in file ...ef8602/src.java.org.apache.hadoop.hbase.Shell.java (2007-11-23)
@@ -25,7 +25,6 @@ import java.io.Writer;
 
 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 @@ public class Shell {
   /** 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 @@ public class Shell {
 
   /** Return the string of prompt start string */
   private static String getPrompt(final StringBuilder queryStr) {
-    return (queryStr.toString().equals("")) ? "Hbase> " : "   --> ";
+    return (queryStr.toString().equals("")) ? "hql > " : "  --> ";
   }
 
   /**
Project apache/hbase in file ...8/src.java.org.apache.hadoop.hbase.HBaseAdmin.java (2007-11-06)
@@ -20,22 +20,19 @@
 package org.apache.hadoop.hbase;
 
 import java.io.IOException;
-import java.util.NoSuchElementException;
 import java.util.Map;
+import java.util.NoSuchElementException;
 import java.util.SortedMap;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-
-import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
+import org.apache.hadoop.hbase.util.Writables;
 import org.apache.hadoop.io.MapWritable;
 import org.apache.hadoop.io.Text;
 import org.apache.hadoop.io.Writable;
 import org.apache.hadoop.ipc.RemoteException;
 
-import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
-import org.apache.hadoop.hbase.util.Writables;
-
 /**
  * Provides administrative functions for HBase
  */
@@ -53,7 +50,7 @@ public class HBaseAdmin implements HConstants {
    * @param conf Configuration object
    * @throws MasterNotRunningException
    */
-  public HBaseAdmin(Configuration conf) throws MasterNotRunningException {
+  public HBaseAdmin(HBaseConfiguration conf) throws MasterNotRunningException {
     this.connection = HConnectionManager.getConnection(conf);
     this.pause = conf.getLong("hbase.client.pause", 30 * 1000);
     this.numRetries = conf.getInt("hbase.client.retries.number", 5);
Project apache/hbase in file ...b6398/src.java.org.apache.hadoop.hbase.HTable.java (2007-11-06)
@@ -33,7 +33,6 @@ import java.util.concurrent.atomic.AtomicReferenceArray;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.filter.RowFilterInterface;
 import org.apache.hadoop.hbase.filter.StopRowFilter;
 import org.apache.hadoop.hbase.filter.WhileMatchRowFilter;
@@ -76,7 +75,7 @@ public class HTable implements HConstants {
    * @param tableName name of the table
    * @throws IOException
    */
-  public HTable(Configuration conf, Text tableName) throws IOException {
+  public HTable(HBaseConfiguration conf, Text tableName) throws IOException {
     closed = true;
     this.connection = HConnectionManager.getConnection(conf);
     this.tableName = tableName;
Project apache/hbase in file ...a.org.apache.hadoop.hbase.shell.SelectCommand.java (2007-11-06)
@@ -28,7 +28,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.TreeMap;
 
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseAdmin;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HConstants;
@@ -75,7 +74,7 @@ public class SelectCommand extends BasicCommand {
     this.formatter = f;
   }
 
-  public ReturnMsg execute(final Configuration conf) {
+  public ReturnMsg execute(final HBaseConfiguration conf) {
     if (this.tableName.equals("") || this.rowKey == null ||
         this.columns.size() == 0) {
       return new ReturnMsg(0, "Syntax error : Please check 'Select' syntax.");
Project apache/hbase in file ...test.org.apache.hadoop.hbase.MultiRegionTable.java (2007-11-06)
@@ -27,7 +27,6 @@ import java.util.TreeMap;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.util.Writables;
@@ -52,7 +51,7 @@ public class MultiRegionTable extends HBaseTestCase {
    * @throws IOException
    */
   @SuppressWarnings("null")
-  public static void makeMultiRegionTable(Configuration conf,
+  public static void makeMultiRegionTable(HBaseConfiguration conf,
       MiniHBaseCluster cluster, FileSystem localFs, String tableName,
       String columnName)
   throws IOException {