Uses of Class
org.apache.hadoop.yarn.service.api.records.Resource
Packages that use Resource
-
Uses of Resource in org.apache.hadoop.yarn.service.api.records
Methods in org.apache.hadoop.yarn.service.api.records that return ResourceModifier and TypeMethodDescriptionAmount of vcores allocated to each container (optional but overrides cpus in profile if specified).Component.getResource()Container.getResource()Service.getResource()Amount of memory allocated to each container (optional but overrides memory in profile if specified).Each resource profile has a unique id which is associated with a cluster-level predefined memory, cpus, etc.Resource.resourceInformations(Map<String, org.apache.hadoop.yarn.service.api.records.ResourceInformation> resourceInformations) Resource.setResourceInformations(Map<String, org.apache.hadoop.yarn.service.api.records.ResourceInformation> resourceInformations) Methods in org.apache.hadoop.yarn.service.api.records with parameters of type ResourceModifier and TypeMethodDescriptionResource of this component (optional).Resource used for this container.Resource of single-component services or the global default for multi-component services.voidComponent.setResource(Resource resource) voidContainer.setResource(Resource resource) voidService.setResource(Resource resource)