Configuration conf = HOME();
conf.setBoolean(Constants.WINDOWING_TEST_LOCAL_MODE, true);
conf.set(Constants.WINDOWING_TEST_DATA_DIR, basedir);
HiveConf hCfg = new HiveConf(conf, conf.getClass());
wshell = new WindowingShell(hCfg, new Translator(), new LocalExecutor(new PrintStream(outStream)));
//wshell.hiveQryExec = new ThriftBasedHiveQueryExecutor(conf)
outPrinter = null;
}