Class ResourceRequest

Object
org.apache.spark.resource.ResourceRequest

public class ResourceRequest extends Object
Class that represents a resource request.

The class used when discovering resources (using the discovery script), or via the context as it is parsing configuration for the ResourceID.

param: id object identifying the resource param: amount integer amount for the resource. Note that for a request (executor level), fractional resources does not make sense, so amount is an integer. param: discoveryScript optional discovery script file name param: vendor optional vendor name

Since:
3.0.0