private void addTable(TableName tableName, int regionCount) throws IOException {
    assert !tableName.isSystemTable() : "Tracking of system tables is not supported";
    NamespaceTableAndRegionInfo info = nsStateCache.get(tableName.getNamespaceAsString());
    if (info != null) {
      info.addTable(tableName, regionCount);
    } else {
      throw new IOException("Bad state : Namespace quota information not found for namespace : "
        + tableName.getNamespaceAsString());
    }
  }
Delete the namespace state.
@param namespace the name of the namespace to delete
hbase-server/src/main/java/org/apache/hadoop/hbase/namespace/NamespaceStateManager.java