Skip to content

Commit 89bfa1e

Browse files
authored
Remove hard-coded config default (#1503)
1 parent cef3e05 commit 89bfa1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spark/src/main/scala/org/apache/spark/Plugins.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class CometDriverPlugin extends DriverPlugin with Logging with ShimCometDriverPl
101101
* unified memory manager.
102102
*/
103103
private def shouldOverrideMemoryConf(conf: SparkConf): Boolean = {
104-
conf.getBoolean(CometConf.COMET_ENABLED.key, true) && (
104+
conf.getBoolean(CometConf.COMET_ENABLED.key, CometConf.COMET_ENABLED.defaultValue.get) && (
105105
conf.getBoolean(
106106
CometConf.COMET_EXEC_SHUFFLE_ENABLED.key,
107107
CometConf.COMET_EXEC_SHUFFLE_ENABLED.defaultValue.get) ||

0 commit comments

Comments
 (0)