org.apache.hadoop.conf.Configurationorg.apache.hadoop.hbase.HBaseConfiguration



Project apache/hbase in file ...hadoop.hbase.regionserver.transactional.THLog.java (2009-07-28)
@@ -23,10 +23,10 @@ import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HRegionInfo;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.client.Delete;
 import org.apache.hadoop.hbase.client.Put;
@@ -42,7 +42,7 @@ import org.apache.hadoop.io.SequenceFile;
  */
 class THLog extends HLog {
 
-  public THLog(FileSystem fs, Path dir, Configuration conf,
+  public THLog(FileSystem fs, Path dir, HBaseConfiguration conf,
       LogRollListener listener) throws IOException {
     super(fs, dir, conf, listener);
   }
Project apache/hbase in file ...va.org.apache.hadoop.hbase.shell.AlterCommand.java (2007-11-06)
@@ -25,8 +25,8 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Set;
 
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseAdmin;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HColumnDescriptor;
 import org.apache.hadoop.io.Text;
 
@@ -45,7 +45,7 @@ public class AlterCommand extends SchemaModificationCommand {
     super(o);
   }
 
-  public ReturnMsg execute(Configuration conf) {
+  public ReturnMsg execute(HBaseConfiguration conf) {
     try {
       HBaseAdmin admin = new HBaseAdmin(conf);
       Set<String> columns = null;
Project apache/hbase in file ...va.org.apache.hadoop.hbase.shell.ClearCommand.java (2007-11-06)
@@ -22,7 +22,7 @@ package org.apache.hadoop.hbase.shell;
 import java.io.IOException;
 import java.io.Writer;
 
-import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 
 /**
  * Clears the console screen. 
@@ -32,7 +32,7 @@ public class ClearCommand extends BasicCommand {
     super(o);
   }
 
-  public ReturnMsg execute(@SuppressWarnings("unused") Configuration conf) {
+  public ReturnMsg execute(@SuppressWarnings("unused") HBaseConfiguration conf) {
     clear();
     return null;
   }
Project apache/hbase in file ...rc.java.org.apache.hadoop.hbase.shell.Command.java (2007-11-06)
@@ -19,7 +19,7 @@
  */
 package org.apache.hadoop.hbase.shell;
 
-import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 
 public interface Command {
   /** family indicator */
@@ -31,7 +31,7 @@ public interface Command {
    * @param conf Configuration
    * @return Result of command execution
    */
-  public ReturnMsg execute(final Configuration conf);
+  public ReturnMsg execute(final HBaseConfiguration conf);
 
   /**
    * @return Type of this command whether DDL, SELECT, INSERT, UPDATE, DELETE,
Project apache/hbase in file ...a.org.apache.hadoop.hbase.shell.CreateCommand.java (2007-11-06)
@@ -24,8 +24,8 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Set;
 
-import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseAdmin;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HColumnDescriptor;
 import org.apache.hadoop.hbase.HTableDescriptor;
 
@@ -41,7 +41,7 @@ public class CreateCommand extends SchemaModificationCommand {
     super(o);
   }
   
-  public ReturnMsg execute(Configuration conf) {
+  public ReturnMsg execute(HBaseConfiguration conf) {
     try {
       HBaseAdmin admin = new HBaseAdmin(conf);
       HTableDescriptor tableDesc = new HTableDescriptor(tableName);