Examples of postDeleteTableHandler()


Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      LOG.debug("Marking '" + tableName + "' as deleted.");
      am.getZKTable().setDeletedTable(tableName);
    }

    if (cpHost != null) {
      cpHost.postDeleteTableHandler(this.tableName);
    }
  }

  @Override
  protected void releaseTableLock() {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      LOG.debug("Marking '" + tableName + "' as deleted.");
      am.getZKTable().setDeletedTable(tableName);
    }

    if (cpHost != null) {
      cpHost.postDeleteTableHandler(this.tableName);
    }
  }

  @Override
  protected void releaseTableLock() {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      LOG.debug("Marking '" + tableNameStr + "' as deleted.");
      am.getZKTable().setDeletedTable(tableNameStr);
    }

    if (cpHost != null) {
      cpHost.postDeleteTableHandler(this.tableName);
    }
  }

  @Override
  protected void releaseTableLock() {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      this.masterServices.getTableDescriptors().remove(Bytes.toString(tableName));

      // 7. If entry for this table in zk, and up in AssignmentManager, remove it.
      am.getZKTable().setDeletedTable(Bytes.toString(tableName));
      if (cpHost != null) {
        cpHost.postDeleteTableHandler(this.tableName);
      }
    }
  }

  @Override
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      LOG.debug("Marking '" + tableName + "' as deleted.");
      am.getTableStateManager().setDeletedTable(tableName);
    }

    if (cpHost != null) {
      cpHost.postDeleteTableHandler(this.tableName);
    }
  }

  /**
   * Removes the table from hbase:meta and archives the HDFS files.
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      LOG.debug("Marking '" + tableName + "' as deleted.");
      am.getZKTable().setDeletedTable(tableName);
    }

    if (cpHost != null) {
      cpHost.postDeleteTableHandler(this.tableName);
    }
  }

  @Override
  protected void releaseTableLock() {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postDeleteTableHandler()

      // 2. Remove table from hbase:meta and HDFS
    removeTableData(regions);

    if (cpHost != null) {
      cpHost.postDeleteTableHandler(this.tableName);
    }
  }

  private void cleanupTableState() throws IOException {
    // 3. Update table descriptor cache
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.