[YARN-10626] Log resource allocation in NM log at container start time. Contributed by Eric Badger
(cherry picked from commit e6f5dbbe7f
)
This commit is contained in:
parent
e162ef84dc
commit
1b5de609ec
|
@ -1083,8 +1083,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 " + user);
|
||||
LOG.info("Start request for " + containerIdStr + " by user " + user +
|
||||
" with resource " + containerResource);
|
||||
|
||||
ContainerLaunchContext launchContext = request.getContainerLaunchContext();
|
||||
|
||||
|
|
Loading…
Reference in New Issue