QChris has uploaded a new change for review.

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

Change subject: Force 2GB of heap for name nodes
......................................................................

Force 2GB of heap for name nodes

Due to both name nodes dying with error "Java heap space", and them
aborting manual restarts before they'd come up, we bump their heap to
2GB to address the immediate issue. Thereby, we allow the namenodes to
come up for now, and researchers can do work on the cluster again,
until we find a better/cleaner approach to setting the name nodes'
heap.

Bug: T88871
Change-Id: Ic548ea9104379f67ff3cd91549651df30dd4ccec
---
M templates/hadoop/hadoop-env.sh.erb
1 file changed, 2 insertions(+), 0 deletions(-)


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

diff --git a/templates/hadoop/hadoop-env.sh.erb 
b/templates/hadoop/hadoop-env.sh.erb
index eb92cd6..5e897f8 100644
--- a/templates/hadoop/hadoop-env.sh.erb
+++ b/templates/hadoop/hadoop-env.sh.erb
@@ -40,3 +40,5 @@
 # Hadoop daemons (NameNode, DataNode) will use this many MB for JVM Heap
 HADOOP_HEAPSIZE=<%= @hadoop_heapsize %>
 <% end -%>
+
+HADOOP_NAMENODE_OPTS="$HADOOP_NAMENODE_OPTS -Xmx2000m"
\ No newline at end of file

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

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

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

Reply via email to