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-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
|
OPTIMIZATIONS
|
||||||
|
|
||||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
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 curRssMemUsageOfAgedProcesses = pTree.getRssMemorySize(1);
|
||||||
long vmemLimit = ptInfo.getVmemLimit();
|
long vmemLimit = ptInfo.getVmemLimit();
|
||||||
long pmemLimit = ptInfo.getPmemLimit();
|
long pmemLimit = ptInfo.getPmemLimit();
|
||||||
LOG.info(String.format(
|
if (LOG.isDebugEnabled()) {
|
||||||
"Memory usage of ProcessTree %s for container-id %s: ",
|
LOG.debug(String.format(
|
||||||
pId, containerId.toString()) +
|
"Memory usage of ProcessTree %s for container-id %s: ",
|
||||||
formatUsageString(
|
pId, containerId.toString()) +
|
||||||
currentVmemUsage, vmemLimit, currentPmemUsage, pmemLimit));
|
formatUsageString(
|
||||||
|
currentVmemUsage, vmemLimit,
|
||||||
|
currentPmemUsage, pmemLimit));
|
||||||
|
}
|
||||||
|
|
||||||
// Add usage to container metrics
|
// Add usage to container metrics
|
||||||
if (containerMetricsEnabled) {
|
if (containerMetricsEnabled) {
|
||||||
|
|
Loading…
Reference in New Issue