Utility for creating a TransportConf from a SparkConf.
Utility for creating a TransportConf from a SparkConf.
if nonzero, this will restrict the server and client threads to only use the given number of cores, rather than all of the machine's cores. This restriction will only occur if these properties are not already set.
Provides a utility for transforming from a SparkConf inside a Spark JVM (e.g., Executor, Driver, or a standalone shuffle service) into a TransportConf with details on our environment like the number of cores that are allocated to this JVM.