@After
  public void tearDown() throws Exception {
    // restore
    FileUtils.deleteDirectory(new File(tmpDir));
  }
This class is almost the same as EmbeddedThriftBinaryCLIService,
except its constructor having a HiveConf param for test usage.
service/src/test/org/apache/hive/service/cli/session/TestSessionGlobalInitFile.java