org.apache.hadoop.hbase.HBaseConfiguration



API Populatity

19 Client projects

Project: org.apache

Project apache/hbase in file ...oop.hbase.coprocessor.TestCoprocessorEndpoint.java (2012-03-01)
@@ -26,6 +26,7 @@ import java.io.IOException;
 import java.util.Map;
 
 import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.MediumTests;
@@ -200,6 +201,7 @@ public class TestCoprocessorEndpoint {
     dib.reset(dob.getData(), dob.getLength());
 
     Exec after = new Exec();
+    after.setConf(HBaseConfiguration.create());
     after.readFields(dib);
     // no error thrown
     assertEquals(after.getProtocolName(), protocolName);
Project apache/hbase in file ...se.replication.regionserver.ReplicationSource.java (2014-08-27)
@@ -37,6 +37,7 @@ import org.apache.hadoop.fs.FileStatus;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.CellUtil;
+import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.Stoppable;
@@ -154,7 +155,7 @@ public class ReplicationSource extends Thread
       final MetricsSource metrics)
           throws IOException {
     this.stopper = stopper;
-    this.conf = conf;
+    this.conf = HBaseConfiguration.create(conf);
     decorateConf();
     this.replicationQueueSizeCapacity =
         this.conf.getLong("replication.source.size.capacity", 1024*1024*64);
Project apache/hbase in file ....java.org.apache.hadoop.hbase.util.InfoServer.java (2010-12-14)
@@ -20,6 +20,7 @@
 
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.http.HttpServer;
 import org.mortbay.jetty.handler.ContextHandlerCollection;
 import org.mortbay.jetty.servlet.Context;
@@ -50,7 +51,7 @@ public class InfoServer extends HttpServer {
    */
   public InfoServer(String name, String bindAddress, int port, boolean findPort)
   throws IOException {
-    super(name, bindAddress, port, findPort);
+    super(name, bindAddress, port, findPort, HBaseConfiguration.create());
     webServer.addHandler(new ContextHandlerCollection());
   }