Skip to content

Commit 14940de

Browse files
author
Davies Liu
committed
change default compression to lz4
1 parent bc1ff9f commit 14940de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/io/CompressionCodec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ private[spark] object CompressionCodec {
9292
}
9393
}
9494

95-
val FALLBACK_COMPRESSION_CODEC = "lzf"
96-
val DEFAULT_COMPRESSION_CODEC = "snappy"
95+
val FALLBACK_COMPRESSION_CODEC = "snappy"
96+
val DEFAULT_COMPRESSION_CODEC = "lz4"
9797
val ALL_COMPRESSION_CODECS = shortCompressionCodecNames.values.toSeq
9898
}
9999

0 commit comments

Comments
 (0)