YARN-4402. TestNodeManagerShutdown And TestNodeManagerResync fails with bind exception. Contributed by Brahma Reddy Battula
This commit is contained in:
parent
16f7ac48d4
commit
bc7603e393
|
@ -1043,6 +1043,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-4403. (AM/NM/Container)LivelinessMonitor should use monotonic time
|
YARN-4403. (AM/NM/Container)LivelinessMonitor should use monotonic time
|
||||||
when calculating period. (Junping Du via jianhe)
|
when calculating period. (Junping Du via jianhe)
|
||||||
|
|
||||||
|
YARN-4402. TestNodeManagerShutdown And TestNodeManagerResync fails with
|
||||||
|
bind exception. (Brahma Reddy Battula via jianhe)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -389,6 +389,9 @@ public class TestNodeManagerResync {
|
||||||
conf.set(YarnConfiguration.NM_ADDRESS, "127.0.0.1:" + port);
|
conf.set(YarnConfiguration.NM_ADDRESS, "127.0.0.1:" + port);
|
||||||
conf.set(YarnConfiguration.NM_LOCALIZER_ADDRESS, "127.0.0.1:"
|
conf.set(YarnConfiguration.NM_LOCALIZER_ADDRESS, "127.0.0.1:"
|
||||||
+ ServerSocketUtil.getPort(49155, 10));
|
+ ServerSocketUtil.getPort(49155, 10));
|
||||||
|
conf.set(YarnConfiguration.NM_WEBAPP_ADDRESS,
|
||||||
|
"127.0.0.1:" + ServerSocketUtil
|
||||||
|
.getPort(YarnConfiguration.DEFAULT_NM_WEBAPP_PORT, 10));
|
||||||
conf.set(YarnConfiguration.NM_LOG_DIRS, logsDir.getAbsolutePath());
|
conf.set(YarnConfiguration.NM_LOG_DIRS, logsDir.getAbsolutePath());
|
||||||
conf.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR,
|
conf.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR,
|
||||||
remoteLogsDir.getAbsolutePath());
|
remoteLogsDir.getAbsolutePath());
|
||||||
|
|
|
@ -272,6 +272,9 @@ public class TestNodeManagerShutdown {
|
||||||
conf.set(YarnConfiguration.NM_ADDRESS, "127.0.0.1:" + port);
|
conf.set(YarnConfiguration.NM_ADDRESS, "127.0.0.1:" + port);
|
||||||
conf.set(YarnConfiguration.NM_LOCALIZER_ADDRESS, "127.0.0.1:"
|
conf.set(YarnConfiguration.NM_LOCALIZER_ADDRESS, "127.0.0.1:"
|
||||||
+ ServerSocketUtil.getPort(49158, 10));
|
+ ServerSocketUtil.getPort(49158, 10));
|
||||||
|
conf.set(YarnConfiguration.NM_WEBAPP_ADDRESS,
|
||||||
|
"127.0.0.1:" + ServerSocketUtil
|
||||||
|
.getPort(YarnConfiguration.DEFAULT_NM_WEBAPP_PORT, 10));
|
||||||
conf.set(YarnConfiguration.NM_LOG_DIRS, logsDir.getAbsolutePath());
|
conf.set(YarnConfiguration.NM_LOG_DIRS, logsDir.getAbsolutePath());
|
||||||
conf.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR, remoteLogsDir.getAbsolutePath());
|
conf.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR, remoteLogsDir.getAbsolutePath());
|
||||||
conf.set(YarnConfiguration.NM_LOCAL_DIRS, nmLocalDir.getAbsolutePath());
|
conf.set(YarnConfiguration.NM_LOCAL_DIRS, nmLocalDir.getAbsolutePath());
|
||||||
|
|
Loading…
Reference in New Issue