Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11659#discussion_r55889878
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -97,9 +97,9 @@ private[spark] class Executor(
       // Set the classloader for serializer
       env.serializer.setDefaultClassLoader(replClassLoader)
     
    -  // Max RPC message size. If task result is bigger than this, we use the 
block manager
    +  // Max size of direct result. If task result is bigger than this, we use 
the block manager
       // to send the result back.
    -  private val maxRpcMessageSize = RpcUtils.maxMessageSizeBytes(conf)
    +  private val maxDirectResultSize = Math.min(1L << 20, 
RpcUtils.maxMessageSizeBytes(conf))
    --- End diff --
    
    we should have another config for this instead. Also 1MB is very small, 
maybe 16 or 32MB?


---
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]

Reply via email to