@Override
protected void setUp() throws Exception {
super.setUp();
securityManager = System.getSecurityManager();
System.setSecurityManager(new NoExitSecurityManager());
msc = new HiveMetaStoreClient(conf);
msc.dropTable(MetaStoreUtils.DEFAULT_DATABASE_NAME,"testNoPartTbl", true,true);
System.setProperty(HiveConf.ConfVars.PREEXECHOOKS.varname, " ");
System.setProperty(HiveConf.ConfVars.POSTEXECHOOKS.varname, " ");
msc.dropTable(MetaStoreUtils.DEFAULT_DATABASE_NAME,"testPartTbl", true,true);