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()) {
|
||||||
"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
Block a user