Yesha Vora created YARN-7730: -------------------------------- Summary: Add memory management configs to yarn-default Key: YARN-7730 URL: https://issues.apache.org/jira/browse/YARN-7730 Project: Hadoop YARN Issue Type: Bug Reporter: Yesha Vora Priority: Minor
Add below configuration and description to yarn-defaults.xml {code} "yarn.nodemanager.resource.memory.enabled" // the default value is false, we need to set to true here to enable the cgroups based memory monitoring. "yarn.nodemanager.resource.memory.cgroups.soft-limit-percentage" // the default value is 90.0f, which means in memory congestion case, the container can still keep/reserve 90% resource for its claimed value. It cannot be set to above 100 or set as negative value. "yarn.nodemanager.resource.memory.cgroups.swappiness" // The percentage that memory can be swapped or not. default value is 0, which means container memory cannot be swapped out. If not set, linux cgroup setting by default set to 60 which means 60% of memory can potentially be swapped out when system memory is not enough.{code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org