Uses of Class
org.apache.hadoop.yarn.api.records.ResourceTypeInfo
Packages that use ResourceTypeInfo
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Package org.apache.hadoop.yarn.util.resource contains classes
which is used as utility class for resource profile computations.
-
Uses of ResourceTypeInfo in org.apache.hadoop.yarn.api.protocolrecords
Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type ResourceTypeInfoModifier and TypeMethodDescriptionabstract List<ResourceTypeInfo>GetAllResourceTypeInfoResponse.getResourceTypeInfo()abstract List<ResourceTypeInfo>RegisterApplicationMasterResponse.getResourceTypes()Get available resource types supported by RM.Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type ResourceTypeInfoModifier and TypeMethodDescriptionabstract voidGetAllResourceTypeInfoResponse.setResourceTypeInfo(List<ResourceTypeInfo> resourceTypes) abstract voidRegisterApplicationMasterResponse.setResourceTypes(List<ResourceTypeInfo> types) Set the resource types used by RM. -
Uses of ResourceTypeInfo in org.apache.hadoop.yarn.api.records
Methods in org.apache.hadoop.yarn.api.records that return ResourceTypeInfoModifier and TypeMethodDescriptionstatic ResourceTypeInfoResourceTypeInfo.newInstance(String name) Create a new instance of ResourceTypeInfo from name.static ResourceTypeInfoResourceTypeInfo.newInstance(String name, String units) Create a new instance of ResourceTypeInfo from name, units.static ResourceTypeInfoResourceTypeInfo.newInstance(String name, String units, ResourceTypes type) Create a new instance of ResourceTypeInfo from name, units and type.static ResourceTypeInfoResourceTypeInfo.newInstance(ResourceTypeInfo other) Create a new instance of ResourceTypeInfo from another object.Methods in org.apache.hadoop.yarn.api.records with parameters of type ResourceTypeInfoModifier and TypeMethodDescriptionintResourceTypeInfo.compareTo(ResourceTypeInfo other) static voidResourceTypeInfo.copy(ResourceTypeInfo src, ResourceTypeInfo dst) Copies the content of the source ResourceTypeInfo object to the destination object, overwriting all properties of the destination object.static ResourceTypeInfoResourceTypeInfo.newInstance(ResourceTypeInfo other) Create a new instance of ResourceTypeInfo from another object. -
Uses of ResourceTypeInfo in org.apache.hadoop.yarn.util.resource
Methods in org.apache.hadoop.yarn.util.resource that return types with arguments of type ResourceTypeInfoModifier and TypeMethodDescriptionstatic List<ResourceTypeInfo>ResourceUtils.getResourcesTypeInfo()Get all resource types information from known resource types.Method parameters in org.apache.hadoop.yarn.util.resource with type arguments of type ResourceTypeInfoModifier and TypeMethodDescriptionstatic ResourceResourceUtils.createResourceFromString(String resourceStr, List<ResourceTypeInfo> resourceTypeInfos) static voidResourceUtils.reinitializeResources(List<ResourceTypeInfo> resourceTypeInfo) Reinitialize all resource types from external source (in case of client, server will send the updated list and local resourceutils cache will be updated as per server's list of resources).