[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
d0562d6cd0
commit
7363e6eee1
|
@ -1078,8 +1078,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