Skip to content

Commit

Permalink
Update hadoop-env.sh update max heap size to 5GB
Browse files Browse the repository at this point in the history
  • Loading branch information
smw42 authored Mar 30, 2024
1 parent e1a8f6a commit 5511ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hadoop_config/hadoop-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5511ff2

Please sign in to comment.