HiveConf hconf = new HiveConf();
Configuration jobConf = createJobConf();
for (Map.Entry<String, String> pair: jobConf) {
hconf.set(pair.getKey(), pair.getValue());
}
hiveserver2 = new MiniHS2(hconf, dfsCluster.getFileSystem());
hiveserver2.start(new HashMap<String, String>());
}
}