protected void drop_table_with_environment_context(String catName, String dbname, String name,
      boolean deleteData, EnvironmentContext envContext) throws TException {
    DropTableRequest dropTableReq = new DropTableRequest(dbname, name);
    dropTableReq.setDeleteData(deleteData);
    dropTableReq.setCatalogName(catName);
    dropTableReq.setDropPartitions(true);
    dropTableReq.setEnvContext(envContext);
    client.drop_table_req(dropTableReq);
  }
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