Examples of sendEnableTable()


Examples of com.alibaba.wasp.master.FServerManager.sendEnableTable()

    // notify server to refresh the table's meta cache.
    FServerManager serverManager = ((FMasterServices) server)
        .getFServerManager();
    for (ServerName serverName : serverManager.getOnlineServersList()) {
      serverManager.sendEnableTable(serverName, Bytes.toString(tableName));
    }

    if (done) {
      // Flip the table to enabled.
      this.assignmentManager.getZKTable().setEnabledTable(this.tableNameStr);
View Full Code Here

Examples of com.alibaba.wasp.master.FServerManager.sendEnableTable()

    try {
      // notify server to refresh the table's meta cache.
      FServerManager serverManager = ((FMasterServices) server)
          .getFServerManager();
      for (ServerName serverName : serverManager.getOnlineServersList()) {
        serverManager.sendEnableTable(serverName, tableName);
      }
      assignmentManager.getZKTable().setEnabledTable(this.table.getTableName());
    } catch (KeeperException e) {
      throw new IOException("Unable to ensure that the table will be"
          + " enabled because of a ZooKeeper issue", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.