YARN-4326. Fix TestDistributedShell timeout as AHS in MiniYarnCluster no longer binds to default port 8188. (Meng Ding via wangda)
(cherry picked from commit 0783184f4b
)
This commit is contained in:
parent
afff29113a
commit
3190446df9
|
@ -987,6 +987,9 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-4127. RM fail with noAuth error if switched from failover to non-failover.
|
||||
(Varun Saxena via jianhe)
|
||||
|
||||
YARN-4326. Fix TestDistributedShell timeout as AHS in MiniYarnCluster no longer
|
||||
binds to default port 8188. (Meng Ding via wangda)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -93,6 +93,11 @@ public class TestDistributedShell {
|
|||
|
||||
yarnCluster.start();
|
||||
|
||||
conf.set(
|
||||
YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
|
||||
MiniYARNCluster.getHostname() + ":"
|
||||
+ yarnCluster.getApplicationHistoryServer().getPort());
|
||||
|
||||
waitForNMsToRegister();
|
||||
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("yarn-site.xml");
|
||||
|
|
Loading…
Reference in New Issue