[YARN-10626] Log resource allocation in NM log at container start time. Contributed by Eric Badger
(cherry picked from commit 3fcc7a55b6
)
This commit is contained in:
parent
e45149bf70
commit
457c8404b9
@ -1082,8 +1082,10 @@ protected void startContainerInternal(
|
||||
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
Block a user