conf.set(ConfVars.SEMANTIC_ANALYZER_HOOK.varname, DummySemanticAnalyzerHook.class.getName());
conf.set(ConfVars.HIVE_SUPPORT_CONCURRENCY.varname, "false");
SessionState.start(conf);
Driver driver = new Driver(conf);
driver.run("drop table testDL");
CommandProcessorResponse resp = driver.run("create table testDL (a int) as select * from tbl2");
assertEquals(40000, resp.getResponseCode());
resp = driver.run("create table testDL (a int)");
assertEquals(0, resp.getResponseCode());