diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index f5a3a834a0c..26ea1f29296 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -1028,6 +1028,9 @@ Release 2.8.0 - UNRELEASED YARN-4302. SLS not able start due to NPE in SchedulerApplicationAttempt (Bibin A Chundatt via vvasudev) + YARN-4251. TestAMRMClientOnRMRestart#testAMRMClientOnAMRMTokenRollOverOnRMRestart + is failing. (Brahma Reddy Battula via ozawa) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClientOnRMRestart.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClientOnRMRestart.java index 23947472274..65c85d9362a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClientOnRMRestart.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClientOnRMRestart.java @@ -27,6 +27,7 @@ import java.util.List; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.net.NetworkTopology; +import org.apache.hadoop.net.ServerSocketUtil; import org.apache.hadoop.security.SecurityUtil; import org.apache.hadoop.security.UserGroupInformation; import org.apache.hadoop.security.token.SecretManager.InvalidToken; @@ -458,7 +459,8 @@ public class TestAMRMClientOnRMRestart { .getMasterKey().getKeyId() == newToken.decodeIdentifier().getKeyId()); // start 2nd RM - conf.set(YarnConfiguration.RM_SCHEDULER_ADDRESS, "0.0.0.0:9030"); + conf.set(YarnConfiguration.RM_SCHEDULER_ADDRESS, "0.0.0.0:" + + ServerSocketUtil.getPort(45020, 10)); final MyResourceManager2 rm2 = new MyResourceManager2(conf, memStore); rm2.start(); nm1.setResourceTrackerService(rm2.getResourceTrackerService());