File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
core/src/main/scala/org/apache/spark/internal/config Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ package org.apache.spark.internal.config
2020import java .util .Locale
2121import java .util .concurrent .TimeUnit
2222
23+ import org .apache .commons .lang3 .{JavaVersion , SystemUtils }
24+
2325import org .apache .spark .network .util .ByteUnit
2426
2527private [spark] object UI {
@@ -100,7 +102,7 @@ private[spark] object UI {
100102 val UI_HEAP_HISTOGRAM_ENABLED = ConfigBuilder (" spark.ui.heapHistogramEnabled" )
101103 .version(" 3.5.0" )
102104 .booleanConf
103- .createWithDefault(true )
105+ .createWithDefault(SystemUtils .isJavaVersionAtLeast( JavaVersion . JAVA_11 ) )
104106
105107 val UI_PROMETHEUS_ENABLED = ConfigBuilder (" spark.ui.prometheus.enabled" )
106108 .internal()
You can’t perform that action at this time.
0 commit comments