YARN-4251. TestAMRMClientOnRMRestart#testAMRMClientOnAMRMTokenRollOverOnRMRestart is failing. Contributed by Brahma Reddy Battula.

This commit is contained in:
Tsuyoshi Ozawa 2015-10-28 17:39:12 +09:00
parent c201cf951d
commit 9f4dfdf4eb
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -27,6 +27,7 @@
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 void testAMRMClientOnAMRMTokenRollOverOnRMRestart() throws Exception {
.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());