YARN-9411. TestYarnNativeServices fails sporadically with bind address in use. Contributed by Prabhu Joseph.
This commit is contained in:
parent
a4cd75e09c
commit
9cd66198ee
@ -216,6 +216,8 @@ protected void setupInternal(int numNodeManager)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user