public void alterCatalog(String catName, Catalog catalog) throws HiveException {
    try {
      getMSC().alterCatalog(catName, catalog);
    } catch (NoSuchObjectException e) {
      throw new HiveException("Catalog " + catName + " does not exists.", e);
    } catch (TException e) {
      throw new HiveException("Unable to alter catalog " + catName + ". " + e.getMessage(), e);
    }
  }
@param privileges
         a bag of privileges
@return true on success
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java