Skip to content

Commit 93c6d2a

Browse files
LantaoJinMarcelo Vanzin
authored andcommitted
[SPARK-27215][CORE] Correct the kryo configurations
## What changes were proposed in this pull request? ```scala val KRYO_USE_UNSAFE = ConfigBuilder("spark.kyro.unsafe") .booleanConf .createWithDefault(false) val KRYO_USE_POOL = ConfigBuilder("spark.kyro.pool") .booleanConf .createWithDefault(true) ``` **kyro should be kryo** ## How was this patch tested? no need Closes apache#24156 from LantaoJin/SPARK-27215. Authored-by: Lantao Jin <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]>
1 parent ec5e342 commit 93c6d2a

File tree

1 file changed

+2
-2
lines changed
  • core/src/main/scala/org/apache/spark/internal/config

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/internal/config/Kryo.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ private[spark] object Kryo {
3434
.toSequence
3535
.createWithDefault(Nil)
3636

37-
val KRYO_USE_UNSAFE = ConfigBuilder("spark.kyro.unsafe")
37+
val KRYO_USE_UNSAFE = ConfigBuilder("spark.kryo.unsafe")
3838
.booleanConf
3939
.createWithDefault(false)
4040

41-
val KRYO_USE_POOL = ConfigBuilder("spark.kyro.pool")
41+
val KRYO_USE_POOL = ConfigBuilder("spark.kryo.pool")
4242
.booleanConf
4343
.createWithDefault(true)
4444

0 commit comments

Comments
 (0)