cloud-fan commented on a change in pull request #26611: [SPARK-29939][CORE] Add 
a conf for CompressionCodec for Ser/Deser of MapOutputStatus
URL: https://github.com/apache/spark/pull/26611#discussion_r348915101
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
 ##########
 @@ -1016,6 +1016,15 @@ package object config {
       .booleanConf
       .createWithDefault(true)
 
+  private[spark] val MAP_STATUS_COMPRESSION_CODEC =
+    ConfigBuilder("spark.shuffle.mapStatus.compression.codec")
+      .doc("The codec used to compress MapStatus, which is generated by 
ShuffleMapTask. " +
+        "By default, Spark provides four codecs: lz4, lzf, snappy, and zstd. 
You can also " +
+        "use fully qualified class names to specify the codec. If this is not 
given, " +
+        "spark.io.compression.codec will be used.")
 
 Review comment:
   we can remove this sentence if we don't fallback to 
spark.io.compression.codec

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to