@Deprecated
  public boolean dropPartition(String db_name, String tbl_name, List<String> part_vals,
      EnvironmentContext env_context) throws TException {
    if (db_name == null || tbl_name == null) {
      throw new MetaException("Database name/Table name cannot be null");
    }
    DropPartitionRequest dropPartitionReq = new DropPartitionRequest(db_name, tbl_name);
    dropPartitionReq.setCatName(getDefaultCatalog(conf));
    dropPartitionReq.setPartVals(part_vals);
    dropPartitionReq.setDeleteData(true);
    dropPartitionReq.setEnvironmentContext(env_context);
    return client.drop_partition_req(dropPartitionReq);
  }
Handles dropDatabase by invoking drop_database in HMS.
Useful when table list in DB can fit in memory, it will retrieve all tables at once and
call drop_database once. Also handles drop_table hooks.
@param req
@param tableList
@throws TException
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java