Package org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos

Examples of org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos.UnassignRegionRequest


  public void unassign(final byte [] regionName, final boolean force)
  throws MasterNotRunningException, ZooKeeperConnectionException, IOException {
    executeCallable(new MasterAdminCallable<Void>(getConnection()) {
      @Override
      public Void call() throws ServiceException {
        UnassignRegionRequest request =
          RequestConverter.buildUnassignRegionRequest(regionName, force);
        masterAdmin.unassignRegion(null,request);
        return null;
      }
    });
View Full Code Here


  public void unassign(final byte [] regionName, final boolean force)
  throws MasterNotRunningException, ZooKeeperConnectionException, IOException {
    execute(new MasterAdminCallable<Void>() {
      @Override
      public Void call() throws ServiceException {
        UnassignRegionRequest request =
          RequestConverter.buildUnassignRegionRequest(regionName, force);
        masterAdmin.unassignRegion(null,request);
        return null;
      }
    });
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos.UnassignRegionRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.