Skip to content

Commit f49f1ef

Browse files
author
Davies Liu
committed
update doc and test
1 parent 14940de commit f49f1ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/test/scala/org/apache/spark/io/CompressionCodecSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CompressionCodecSuite extends SparkFunSuite {
4646

4747
test("default compression codec") {
4848
val codec = CompressionCodec.createCodec(conf)
49-
assert(codec.getClass === classOf[SnappyCompressionCodec])
49+
assert(codec.getClass === classOf[LZ4CompressionCodec])
5050
testCodec(codec)
5151
}
5252

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ Apart from these, the following properties are also available, and may be useful
586586
</tr>
587587
<tr>
588588
<td><code>spark.io.compression.codec</code></td>
589-
<td>snappy</td>
589+
<td>lz4</td>
590590
<td>
591591
The codec used to compress internal data such as RDD partitions, broadcast variables and
592592
shuffle outputs. By default, Spark provides three codecs: <code>lz4</code>, <code>lzf</code>,

0 commit comments

Comments
 (0)