hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Costa <miguel-co...@telecom.pt>
Subject HBase API HRegionServer
Date Thu, 19 May 2011 17:50:59 GMT
Hi,



Is it possible to start a region server from the HBase aPI if the region server is down?



Can you give me some example please?



I want to do something like this:



Configuration config = HBaseConfiguration.create();

config.addResource(new Path(ZooKeeperPath));

HRegionServer sw =  new HRegionServer(config);

sw.startRegionServer(new HRegionServer(config), "myregionservername");



Thanks,



Miguel






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message