[YARN-10626] Log resource allocation in NM log at container start time. Contributed by Eric Badger
This commit is contained in:
parent
2b3c5b1733
commit
3fcc7a55b6
|
@ -1082,8 +1082,10 @@ public class ContainerManagerImpl extends CompositeService implements
|
|||
ContainerId containerId = containerTokenIdentifier.getContainerID();
|
||||
String containerIdStr = containerId.toString();
|
||||
String user = containerTokenIdentifier.getApplicationSubmitter();
|
||||
Resource containerResource = containerTokenIdentifier.getResource();
|
||||
|
||||
LOG.info("Start request for " + containerIdStr + " by user " + remoteUser);
|
||||
LOG.info("Start request for " + containerIdStr + " by user " + remoteUser +
|
||||
" with resource " + containerResource);
|
||||
|
||||
ContainerLaunchContext launchContext = request.getContainerLaunchContext();
|
||||
|
||||
|
|
Loading…
Reference in New Issue