YARN-3424. Change logs for ContainerMonitorImpl's resourse monitoring from info to debug. Contributed by Anubhav Dhoot.
(cherry picked from commit c69ba81497
)
This commit is contained in:
parent
93b29d962d
commit
80755edb7a
|
@ -43,6 +43,9 @@ Release 2.8.0 - UNRELEASED
|
|||
|
||||
YARN-3428. Debug log resources to be localized for a container. (kasha)
|
||||
|
||||
YARN-3424. Change logs for ContainerMonitorImpl's resourse monitoring
|
||||
from info to debug. (Anubhav Dhoot via ozawa)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
||||
|
|
|
@ -455,11 +455,14 @@ public class ContainersMonitorImpl extends AbstractService implements
|
|||
long curRssMemUsageOfAgedProcesses = pTree.getRssMemorySize(1);
|
||||
long vmemLimit = ptInfo.getVmemLimit();
|
||||
long pmemLimit = ptInfo.getPmemLimit();
|
||||
LOG.info(String.format(
|
||||
"Memory usage of ProcessTree %s for container-id %s: ",
|
||||
pId, containerId.toString()) +
|
||||
formatUsageString(
|
||||
currentVmemUsage, vmemLimit, currentPmemUsage, pmemLimit));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug(String.format(
|
||||
"Memory usage of ProcessTree %s for container-id %s: ",
|
||||
pId, containerId.toString()) +
|
||||
formatUsageString(
|
||||
currentVmemUsage, vmemLimit,
|
||||
currentPmemUsage, pmemLimit));
|
||||
}
|
||||
|
||||
// Add usage to container metrics
|
||||
if (containerMetricsEnabled) {
|
||||
|
|
Loading…
Reference in New Issue