[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 @@ protected void startContainerInternal(
|
|||||||
ContainerId containerId = containerTokenIdentifier.getContainerID();
|
ContainerId containerId = containerTokenIdentifier.getContainerID();
|
||||||
String containerIdStr = containerId.toString();
|
String containerIdStr = containerId.toString();
|
||||||
String user = containerTokenIdentifier.getApplicationSubmitter();
|
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();
|
ContainerLaunchContext launchContext = request.getContainerLaunchContext();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user