Skip to content

Commit 353684c

Browse files
committed
review commit
1 parent f585bb0 commit 353684c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/spark-class

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ else
107107
fi
108108

109109
# Set JAVA_OPTS to be able to load native libraries and to set heap size
110+
# SPARK-3936: scala does not assume use of the java classpath, so we need to add the "-Dscala.usejavacp=true"
110111
JAVA_OPTS="-Dscala.usejavacp=true -XX:MaxPermSize=128m $OUR_JAVA_OPTS"
111112
JAVA_OPTS="$JAVA_OPTS -Xms$OUR_JAVA_MEM -Xmx$OUR_JAVA_MEM"
112113

0 commit comments

Comments
 (0)