HiveLocalServer2 hiveServer;
@Before
public void setUp() throws IOException {
zookeeperLocalCluster = new ZookeeperLocalCluster.Builder()
.setPort(Integer.parseInt(propertyParser.getProperty(ConfigVars.ZOOKEEPER_PORT_KEY)))
<BUG>.setTempDir(propertyParser.getProperty(ConfigVars.ZOOKEEPER_TEMP_DIR_KEY))
.build();</BUG>
zookeeperLocalCluster.start();
hiveServer = new HiveLocalServer2(METASTORE_URI, DERBY_DB_PATH, HIVE_SCRATCH_DIR,
<BUG>HIVESERVER2_PORT, zookeeperLocalCluster.getZkConnectionString());
hiveServer.start();</BUG>
}

HiveLocalServer2 hiveServer;
@Before
public void setUp() throws IOException {
zookeeperLocalCluster = new ZookeeperLocalCluster.Builder()
.setPort(Integer.parseInt(propertyParser.getProperty(ConfigVars.ZOOKEEPER_PORT_KEY)))
.setTempDir(propertyParser.getProperty(ConfigVars.ZOOKEEPER_TEMP_DIR_KEY))
.setZookeeperConnectionString(propertyParser.getProperty(ConfigVars.ZOOKEEPER_CONNECTION_STRING_KEY))
.build();
zookeeperLocalCluster.start();
hiveServer = new HiveLocalServer2(METASTORE_URI, DERBY_DB_PATH, HIVE_SCRATCH_DIR,
HIVESERVER2_PORT, propertyParser.getProperty(ConfigVars.ZOOKEEPER_CONNECTION_STRING_KEY));
hiveServer.start();
}
