}
public static void dropTable(String metaStoreUrl, String databaseName,
String tableName) throws Exception {
HCatClient client = HiveCatalogService.get(metaStoreUrl);
client.dropTable(databaseName, tableName, true);
}
public static void startSessionState(String metaStoreUrl) {
HiveConf hcatConf = new HiveConf();
hcatConf.setVar(HiveConf.ConfVars.METASTOREURIS, metaStoreUrl);