public void alterWMPool(WMNullablePool pool, String poolPath) throws HiveException {
    try {
      String ns = conf.getVar(ConfVars.HIVE_SERVER2_WM_NAMESPACE);
      if (pool.isSetNs() && !ns.equals(pool.getNs())) {
        throw new HiveException("Cannot modify a pool in a different NS; was "
            + pool.getNs() + ", configured " + ns);
      }
      pool.setNs(ns);
      getMSC().alterWMPool(pool, poolPath);
    } catch (Exception e) {
      throw new HiveException(e);
    }
  }
Get Default constraints associated with the table that are enabled

@param dbName Database Name
@param tblName Table Name
@return Default constraints associated with the table.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java