RpcUtils¶
Maximum Message Size¶
maxMessageSizeBytes(
conf: SparkConf): Int
maxMessageSizeBytes is the value of spark.rpc.message.maxSize configuration property in bytes (by multiplying the value by 1024 * 1024).
maxMessageSizeBytes throws an IllegalArgumentException when the value is above 2047 MB:
spark.rpc.message.maxSize should not be greater than 2047 MB
maxMessageSizeBytes is used when:
MapOutputTrackerMasteris requested for the maxRpcMessageSizeExecutoris requested for the maxDirectResultSizeCoarseGrainedSchedulerBackendis requested for the maxRpcMessageSize
makeDriverRef¶
makeDriverRef(
name: String,
conf: SparkConf,
rpcEnv: RpcEnv): RpcEndpointRef
makeDriverRef...FIXME
makeDriverRef is used when:
- BarrierTaskContext is created
SparkEnvutility is used to create a SparkEnv (on executors)- Executor is created
PluginContextImplis requested fordriverEndpoint