@Test
public void testNewConnectionConfiguration() throws Exception {
// Start HiveServer2 with default conf
HiveServer2 hiveServer2 = new HiveServer2();
hiveServer2.init(new HiveConf());
hiveServer2.start();
Thread.sleep(3000);
// Set some conf parameters
String hiveConf = "hive.cli.print.header=true;hive.server2.async.exec.shutdown.timeout=20;" +
"hive.server2.async.exec.threads=30;hive.server2.thrift.http.max.worker.threads=15";