YARN-11554. Fix TestRMFailover#testWebAppProxyInStandAloneMode Failed. (#5971)
This commit is contained in:
parent
2f739450be
commit
b6d06c8928
@ -212,6 +212,8 @@ public void testAutomaticFailover()
|
|||||||
public void testWebAppProxyInStandAloneMode() throws YarnException,
|
public void testWebAppProxyInStandAloneMode() throws YarnException,
|
||||||
InterruptedException, IOException {
|
InterruptedException, IOException {
|
||||||
conf.setBoolean(YarnConfiguration.AUTO_FAILOVER_ENABLED, false);
|
conf.setBoolean(YarnConfiguration.AUTO_FAILOVER_ENABLED, false);
|
||||||
|
conf.set(YarnConfiguration.RM_HA_ID, RM1_NODE_ID);
|
||||||
|
|
||||||
WebAppProxyServer webAppProxyServer = new WebAppProxyServer();
|
WebAppProxyServer webAppProxyServer = new WebAppProxyServer();
|
||||||
try {
|
try {
|
||||||
conf.set(YarnConfiguration.PROXY_ADDRESS, "0.0.0.0:9099");
|
conf.set(YarnConfiguration.PROXY_ADDRESS, "0.0.0.0:9099");
|
||||||
|
Loading…
Reference in New Issue
Block a user