pyspark.resource.
ExecutorResourceRequests
A set of Executor resource requests. This is used in conjunction with the pyspark.resource.ResourceProfileBuilder to programmatically specify the resources needed for an RDD that will be applied at the stage level.
pyspark.resource.ResourceProfileBuilder
New in version 3.1.0.
See also
pyspark.resource.ResourceProfile
Notes
This API is evolving.
Methods
cores(amount)
cores
Specify number of cores per Executor.
memory(amount)
memory
Specify heap memory.
memoryOverhead(amount)
memoryOverhead
Specify overhead memory.
offheapMemory(amount)
offheapMemory
Specify off heap memory.
pysparkMemory(amount)
pysparkMemory
Specify pyspark memory.
resource(resourceName, amount[, …])
resource
Amount of a particular custom resource(GPU, FPGA, etc) to use.
Attributes
requests