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

Examples of org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionTransition


  @Override
  public ReportRegionTransitionResponse reportRegionTransition(RpcController controller,
      ReportRegionTransitionRequest req) throws ServiceException {
    try {
      RegionTransition rt = req.getTransition(0);
      TableName tableName = ProtobufUtil.toTableName(
        rt.getRegionInfo(0).getTableName());
      if (!TableName.META_TABLE_NAME.equals(tableName)
          && !assignmentManager.isFailoverCleanupDone()) {
        // Meta region is assigned before master finishes the
        // failover cleanup. So no need this check for it
        throw new PleaseHoldException("Master is rebuilding user regions");
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionTransition

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.