configuration.set(Constants.Dataset.Manager.OUTPUT_DIR, datasetDir.getAbsolutePath());
configuration.set(Constants.Dataset.Manager.ADDRESS, "localhost");
configuration.setInt(Constants.Dataset.Manager.PORT, Networks.getRandomPort());
configuration.set(MetricsConstants.ConfigKeys.SERVER_PORT, Integer.toString(Networks.getRandomPort()));
configuration.set(Constants.CFG_LOCAL_DATA_DIR, tmpFolder.newFolder("data").getAbsolutePath());
<BUG>configuration.setBoolean(Constants.Dangerous.UNRECOVERABLE_RESET, true);
configuration.setBoolean(Constants.Hive.EXPLORE_ENABLED, true);</BUG>
if (System.getProperty("os.name").startsWith("Windows")) {
File binDir = new File(tmpDir, "bin");
binDir.mkdir();

configuration.set(Constants.Dataset.Manager.OUTPUT_DIR, datasetDir.getAbsolutePath());
configuration.set(Constants.Dataset.Manager.ADDRESS, "localhost");
configuration.setInt(Constants.Dataset.Manager.PORT, Networks.getRandomPort());
configuration.set(MetricsConstants.ConfigKeys.SERVER_PORT, Integer.toString(Networks.getRandomPort()));
configuration.set(Constants.CFG_LOCAL_DATA_DIR, tmpFolder.newFolder("data").getAbsolutePath());
configuration.setBoolean(Constants.Dangerous.UNRECOVERABLE_RESET, true);
configuration.set(Constants.Hive.CFG_LOCAL_DATA_DIR, System.getProperty("java.io.tmpdir"));
configuration.setBoolean(Constants.Hive.EXPLORE_ENABLED, true);
if (System.getProperty("os.name").startsWith("Windows")) {
File binDir = new File(tmpDir, "bin");
binDir.mkdir();
