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

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


  public void assign(final byte[] regionName) throws MasterNotRunningException,
      ZooKeeperConnectionException, IOException {
    executeCallable(new MasterAdminCallable<Void>(getConnection()) {
      @Override
      public Void call() throws ServiceException {
        AssignRegionRequest request = RequestConverter.buildAssignRegionRequest(regionName);
        masterAdmin.assignRegion(null,request);
        return null;
      }
    });
  }
View Full Code Here


  public void assign(final byte[] regionName) throws MasterNotRunningException,
      ZooKeeperConnectionException, IOException {
    execute(new MasterAdminCallable<Void>() {
      @Override
      public Void call() throws ServiceException {
        AssignRegionRequest request = RequestConverter.buildAssignRegionRequest(regionName);
        masterAdmin.assignRegion(null,request);
        return null;
      }
    });
  }
View Full Code Here

TOP

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

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.