Package com.alibaba.wasp.master.handler

Examples of com.alibaba.wasp.master.handler.EnableTableHandler


        // Recover by calling EnableTableHandler
        LOG.info("The table " + tableName
            + " is in ENABLING state.  Hence recovering by moving the table"
            + " to ENABLED state.");
        // enableTable in sync way during master startup,
        new EnableTableHandler(this.server, (FMasterServices) this.server,this, tableName.getBytes(), true)
            .process();
      }
    }
  }
View Full Code Here


  public EnableTableResponse enableTable(RpcController controller,
      EnableTableRequest request) throws ServiceException {
    byte[] tableName = request.getTableName().toByteArray();
    try {
      checkInitialized();
      this.executorService.submit(new EnableTableHandler(this,this,
          this.assignmentManager, tableName, false));
    } catch (IOException ioe) {
      throw new ServiceException(ioe);
    }
    return EnableTableResponse.newBuilder().build();
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.master.handler.EnableTableHandler

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.