YARN-8535. Fix DistributedShell unit tests. Contributed by Abhishek Modi.
(cherry picked from commit eed8415dc18fa7415ebd105350bd0532b3b1b6bb)
This commit is contained in:
parent
d06717ef94
commit
5514f02a73
@ -824,7 +824,7 @@ protected boolean finish() {
|
||||
|
||||
// When the application completes, it should send a finish application
|
||||
// signal to the RM
|
||||
LOG.info("Application completed. Signalling finish to RM");
|
||||
LOG.info("Application completed. Signalling finished to RM");
|
||||
|
||||
FinalApplicationStatus appStatus;
|
||||
String appMessage = null;
|
||||
|
@ -615,6 +615,7 @@ private File verifyEntityTypeFileExists(String basePath, String entityType,
|
||||
String entityfileName) {
|
||||
String outputDirPathForEntity =
|
||||
basePath + File.separator + entityType + File.separator;
|
||||
LOG.info(outputDirPathForEntity);
|
||||
File outputDirForEntity = new File(outputDirPathForEntity);
|
||||
Assert.assertTrue(outputDirForEntity.isDirectory());
|
||||
|
||||
|
@ -576,7 +576,9 @@ protected synchronized void serviceInit(Configuration conf)
|
||||
config.set(YarnConfiguration.NM_LOCALIZER_ADDRESS,
|
||||
MiniYARNCluster.getHostname() + ":0");
|
||||
config.set(YarnConfiguration.NM_COLLECTOR_SERVICE_ADDRESS,
|
||||
MiniYARNCluster.getHostname() + ":0");
|
||||
MiniYARNCluster.getHostname() + ":" +
|
||||
ServerSocketUtil.getPort(
|
||||
YarnConfiguration.DEFAULT_NM_COLLECTOR_SERVICE_PORT, 10));
|
||||
WebAppUtils
|
||||
.setNMWebAppHostNameAndPort(config,
|
||||
MiniYARNCluster.getHostname(), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user