Repository: bigtop Updated Branches: refs/heads/master fa2a88b6f -> f9c0fcf20
BIGTOP-2459: Add option to disable vmem check for NodeManager Signed-off-by: Kevin W Monroe <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/f9c0fcf2 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/f9c0fcf2 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/f9c0fcf2 Branch: refs/heads/master Commit: f9c0fcf200ff231f89780bcd4bf10f18360530e0 Parents: fa2a88b Author: Cory Johns <[email protected]> Authored: Thu May 26 15:47:33 2016 -0400 Committer: Kevin W Monroe <[email protected]> Committed: Tue Oct 4 11:13:54 2016 -0500 ---------------------------------------------------------------------- bigtop-deploy/puppet/modules/hadoop/manifests/init.pp | 1 + bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml | 7 +++++++ 2 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/f9c0fcf2/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp ---------------------------------------------------------------------- diff --git a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp index 69e26bb..8e0de03 100644 --- a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp +++ b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp @@ -151,6 +151,7 @@ class hadoop ($hadoop_security_authentication = "simple", $container_executor_min_user_id = "499", $hadoop_security_authentication = $hadoop::hadoop_security_authentication, $kerberos_realm = $hadoop::kerberos_realm, + $yarn_nodemanager_vmem_check_enabled = undef, ) inherits hadoop { include hadoop::common http://git-wip-us.apache.org/repos/asf/bigtop/blob/f9c0fcf2/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml ---------------------------------------------------------------------- diff --git a/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml b/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml index 054ae65..0b1285e 100644 --- a/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml +++ b/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml @@ -174,6 +174,13 @@ <value>/var/log/hadoop-yarn/apps</value> </property> +<% if not @yarn_nodemanager_vmem_check_enabled.nil? -%> + <property> + <name>yarn.nodemanager.vmem-check-enabled</name> + <value><%= @yarn_nodemanager_vmem_check_enabled %></value> + </property> +<% end -%> + <property> <description>Classpath for typical applications.</description> <name>yarn.application.classpath</name>
