Github user aarondav commented on a diff in the pull request:
https://github.com/apache/spark/pull/1124#discussion_r13952270
--- Diff: core/src/main/scala/org/apache/spark/util/AkkaUtils.scala ---
@@ -119,6 +119,9 @@ private[spark] object AkkaUtils extends Logging {
/** Returns the configured max frame size for Akka messages in bytes. */
def maxFrameSizeBytes(conf: SparkConf): Int = {
- conf.getInt("spark.akka.frameSize", 10) * 1024 * 1024
+ math.max(conf.getInt("spark.akka.frameSize", 0) * 1024 * 1024,
minFrameSizeBytes)
}
+
+ /** The min frame size for Akka messages in bytes. */
--- End diff --
This is a slightly disingenuous name/comment, it's really the min maximum
frame size.... Can keep the name, but maybe add some clarification in the
comment.
---
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.
---