@Override
  public void alterFunction(String catName, String dbName, String funcName,
                            Function newFunction) throws TException {
    client.alter_function(prependCatalogToDbName(catName, dbName, conf), funcName, newFunction);
  }
Creates a synchronized wrapper for any {@link IMetaStoreClient}.
This may be used by multi-threaded applications until we have
fixed all reentrancy bugs.

@param client unsynchronized client
@return synchronized client
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java