From 5511ff21fc96b5f664b5eb74b06d7a59c7080cd8 Mon Sep 17 00:00:00 2001 From: Steven Waring Date: Sat, 30 Mar 2024 12:44:22 -0400 Subject: [PATCH] Update hadoop-env.sh update max heap size to 5GB --- hadoop_config/hadoop-env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop_config/hadoop-env.sh b/hadoop_config/hadoop-env.sh index 0f24ff5..e1bfcd1 100644 --- a/hadoop_config/hadoop-env.sh +++ b/hadoop_config/hadoop-env.sh @@ -72,14 +72,14 @@ export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 # prefer any Xmx setting in their respective _OPT variable. # There is no default; the JVM will autoscale based upon machine # memory size. -export HADOOP_HEAPSIZE_MAX=1024 +export HADOOP_HEAPSIZE_MAX=5120 # The minimum amount of heap to use (Java -Xms). If no unit # is provided, it will be converted to MB. Daemons will # prefer any Xms setting in their respective _OPT variable. # There is no default; the JVM will autoscale based upon machine # memory size. -export HADOOP_HEAPSIZE_MIN=1024 +# export HADOOP_HEAPSIZE_MIN=1024 # Enable extra debugging of Hadoop's JAAS binding, used to set up # Kerberos security.