|
@@ -216,6 +216,8 @@ public class ServiceTestUtils {
|
|
|
LOG.info("Starting up YARN cluster");
|
|
|
if (conf == null) {
|
|
|
setConf(new YarnConfiguration());
|
|
|
+ conf.setBoolean(YarnConfiguration.YARN_MINICLUSTER_FIXED_PORTS, false);
|
|
|
+ conf.setBoolean(YarnConfiguration.YARN_MINICLUSTER_USE_RPC, false);
|
|
|
}
|
|
|
conf.setInt(YarnConfiguration.RM_SCHEDULER_MINIMUM_ALLOCATION_MB, 128);
|
|
|
// reduce the teardown waiting time
|