Skip to content

Commit 8ebb0a9

Browse files
committed
YARN-1775. Enhanced ProcfsBasedProcessTree to optionally add the ability to use smaps for obtaining used memory information. Contributed by Rajesh Balamohan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1580087 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5a79a63 commit 8ebb0a9

File tree

6 files changed

+781
-217
lines changed

6 files changed

+781
-217
lines changed

hadoop-yarn-project/CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ Release 2.4.0 - UNRELEASED
178178
YARN-1690. Made DistributedShell send timeline entities+events. (Mayank Bansal
179179
via zjshen)
180180

181+
YARN-1775. Enhanced ProcfsBasedProcessTree to optionally add the ability to
182+
use smaps for obtaining used memory information. (Rajesh Balamohan via
183+
vinodkv)
184+
181185
IMPROVEMENTS
182186

183187
YARN-1007. Enhance History Reader interface for Containers. (Mayank Bansal via

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,10 @@ public class YarnConfiguration extends Configuration {
718718
/** Class that calculates process tree resource utilization.*/
719719
public static final String NM_CONTAINER_MON_PROCESS_TREE =
720720
NM_PREFIX + "container-monitor.process-tree.class";
721+
public static final String PROCFS_USE_SMAPS_BASED_RSS_ENABLED = NM_PREFIX +
722+
".container-monitor.procfs-tree.smaps-based-rss.enabled";
723+
public static final boolean DEFAULT_PROCFS_USE_SMAPS_BASED_RSS_ENABLED =
724+
false;
721725

722726
/** Prefix for all node manager disk health checker configs. */
723727
private static final String NM_DISK_HEALTH_CHECK_PREFIX =

0 commit comments

Comments
 (0)