YARN-3424. Change logs for ContainerMonitorImpl's resourse monitoring from info to debug. Contributed by Anubhav Dhoot.
This commit is contained in:
parent
2daa478a64
commit
c69ba81497
@ -91,6 +91,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 void run() {
|
|||||||
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()) {
|
||||||
|
LOG.debug(String.format(
|
||||||
"Memory usage of ProcessTree %s for container-id %s: ",
|
"Memory usage of ProcessTree %s for container-id %s: ",
|
||||||
pId, containerId.toString()) +
|
pId, containerId.toString()) +
|
||||||
formatUsageString(
|
formatUsageString(
|
||||||
currentVmemUsage, vmemLimit, currentPmemUsage, pmemLimit));
|
currentVmemUsage, vmemLimit,
|
||||||
|
currentPmemUsage, pmemLimit));
|
||||||
|
}
|
||||||
|
|
||||||
// Add usage to container metrics
|
// Add usage to container metrics
|
||||||
if (containerMetricsEnabled) {
|
if (containerMetricsEnabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user