Github user ilganeli commented on a diff in the pull request:
https://github.com/apache/spark/pull/5574#discussion_r28905078
--- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
@@ -432,6 +505,21 @@ private[spark] object SparkConf extends Logging {
AlternateConfig("spark.yarn.applicationMaster.waitTries", "1.3",
// Translate old value to a duration, with 10s wait time per try.
translation = s => s"${s.toLong * 10}s")),
+ "spark.reducer.maxSizeInFlight" -> Seq(
+ AlternateConfig("spark.reducer.maxMbInFlight", "1.4")),
+ "spark.kryoserializer.buffer" ->
+ Seq(AlternateConfig("spark.kryoserializer.buffer.mb", "1.4",
+ translation = s => s"${s.toDouble * 1000}k")),
--- End diff --
This automatic translation may throw a NumberFormatException if someone
tries to use the .mb parameter as "64k" (e.g. the correct new format). Is that
a case we should be concerned with? There will be enough warnings and errors
thrown for them to readily track down the problem and fix the erroneous config
so this should be ok but want to confirm that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]