Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283185

Change subject: Use @yarn_heapsize, not @hadoop_heapsize when setting 
$yarn_heapsize
......................................................................

Use @yarn_heapsize, not @hadoop_heapsize when setting $yarn_heapsize

Dumb copy/paste fix

Bug: T102954

Change-Id: I0062d53c84d02c9de44a36d72c340c07ee4e7011
---
M templates/hadoop/yarn-env.sh.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/cdh 
refs/changes/85/283185/1

diff --git a/templates/hadoop/yarn-env.sh.erb b/templates/hadoop/yarn-env.sh.erb
index 1cd844d..d639b1a 100644
--- a/templates/hadoop/yarn-env.sh.erb
+++ b/templates/hadoop/yarn-env.sh.erb
@@ -23,7 +23,7 @@
 
 # For setting YARN specific HEAP sizes please use this
 # Parameter and set appropriately
-<%= @yarn_heapsize ? "YARN_HEAPSIZE=#{@hadoop_heapsize}" : '# 
YARN_HEAPSIZE=1000' %>
+<%= @yarn_heapsize ? "YARN_HEAPSIZE=#{@yarn_heapsize}" : '# 
YARN_HEAPSIZE=1000' %>
 
 # check envvars which might override default args
 if [ "$YARN_HEAPSIZE" != "" ]; then

-- 
To view, visit https://gerrit.wikimedia.org/r/283185
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0062d53c84d02c9de44a36d72c340c07ee4e7011
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/cdh
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to