use of org.junit.AfterClass in project hive by apache.
the class TestQBCompact method deInit.
@AfterClass
public static void deInit() throws Exception {
Hive h = Hive.get(conf);
h.dropTable("foo");
}
use of org.junit.AfterClass in project hive by apache.
the class TestReadEntityDirect method onetimeTeardown.
@AfterClass
public static void onetimeTeardown() throws Exception {
Driver driver = createDriver();
driver.run("drop table t1");
driver.run("drop view v1");
}
use of org.junit.AfterClass in project hive by apache.
the class TestBeeLineHistory method afterTests.
@AfterClass
public static void afterTests() throws Exception {
File file = new File(fileName);
file.delete();
}
use of org.junit.AfterClass in project hive by apache.
the class TestColumnAccess method Teardown.
@AfterClass
public static void Teardown() throws Exception {
Driver driver = createDriver();
driver.run("drop table t1");
driver.run("drop table t2");
driver.run("drop view v1");
}
use of org.junit.AfterClass in project hive by apache.
the class TestCustomAuthentication method tearDown.
@AfterClass
public static void tearDown() throws Exception {
if (hiveConf != null && hiveConfBackup != null) {
FileOutputStream fos = new FileOutputStream(new File(hiveConf.getHiveSiteLocation().toURI()));
fos.write(hiveConfBackup);
fos.close();
}
if (hiveserver2 != null) {
hiveserver2.stop();
hiveserver2 = null;
}
Thread.sleep(1000);
System.out.println("hiveServer2 stop ......");
}
Aggregations