YARN-4251. TestAMRMClientOnRMRestart#testAMRMClientOnAMRMTokenRollOverOnRMRestart is failing. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
c201cf951d
commit
9f4dfdf4eb
@ -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
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user