Uses of Class
org.apache.hadoop.yarn.server.federation.store.records.SubClusterId
Packages that use SubClusterId
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.
Federation Policies.
AMRMPRoxy policies.
Router policies.
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.
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.
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.
-
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.cache
Methods in org.apache.hadoop.yarn.server.federation.cache that return SubClusterIdModifier and TypeMethodDescriptionabstract SubClusterIdFederationCache.getApplicationHomeSubCluster(org.apache.hadoop.yarn.api.records.ApplicationId appId) Returns the homeSubClusterIdfor the specifiedApplicationId.FederationCaffeineCache.getApplicationHomeSubCluster(org.apache.hadoop.yarn.api.records.ApplicationId appId) FederationGuavaCache.getApplicationHomeSubCluster(org.apache.hadoop.yarn.api.records.ApplicationId appId) FederationJCache.getApplicationHomeSubCluster(org.apache.hadoop.yarn.api.records.ApplicationId appId) FederationCache.ApplicationHomeSubClusterCacheResponse.getItem()Methods in org.apache.hadoop.yarn.server.federation.cache that return types with arguments of type SubClusterIdModifier and TypeMethodDescriptionFederationCache.buildGetApplicationHomeSubClusterRequest(String cacheKey, org.apache.hadoop.yarn.api.records.ApplicationId applicationId) Build GetApplicationHomeSubCluster CacheRequest.static Map<SubClusterId,SubClusterInfo> FederationCache.buildSubClusterInfoMap(FederationCache.CacheRequest<String, ?> cacheRequest) According to the cacheRequest, build SubClusterInfoMap.static Map<SubClusterId,SubClusterInfo> FederationCache.buildSubClusterInfoMap(GetSubClustersInfoResponse response) According to the response, build SubClusterInfoMap.FederationCache.ApplicationHomeSubClusterCacheResponse.getList()abstract Map<SubClusterId,SubClusterInfo> FederationCache.getSubClusters(boolean filterInactiveSubClusters) Returns theSubClusterInfoof all active sub cluster(s).FederationCaffeineCache.getSubClusters(boolean filterInactiveSubClusters) FederationGuavaCache.getSubClusters(boolean filterInactiveSubClusters) FederationJCache.getSubClusters(boolean filterInactiveSubClusters) Methods in org.apache.hadoop.yarn.server.federation.cache with parameters of type SubClusterIdModifier and TypeMethodDescriptionvoidFederationCache.ApplicationHomeSubClusterCacheResponse.setItem(SubClusterId item) Method parameters in org.apache.hadoop.yarn.server.federation.cache with type arguments of type SubClusterIdModifier and TypeMethodDescriptionvoidFederationCache.ApplicationHomeSubClusterCacheResponse.setList(List<SubClusterId> list) -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.failover
Methods in org.apache.hadoop.yarn.server.federation.failover with parameters of type SubClusterIdModifier and TypeMethodDescriptionstatic <T> TFederationProxyProviderUtil.createRMProxy(org.apache.hadoop.conf.Configuration configuration, Class<T> protocol, SubClusterId subClusterId, org.apache.hadoop.security.UserGroupInformation user) Create a proxy for the specified protocol in the context of Federation.static <T> TFederationProxyProviderUtil.createRMProxy(org.apache.hadoop.conf.Configuration configuration, Class<T> protocol, SubClusterId subClusterId, org.apache.hadoop.security.UserGroupInformation user, org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token) Create a proxy for the specified protocol in the context of Federation. -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.policies
Methods in org.apache.hadoop.yarn.server.federation.policies that return SubClusterIdModifier and TypeMethodDescriptionFederationPolicyInitializationContext.getHomeSubcluster()Returns the current home sub-cluster.RouterPolicyFacade.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext, List<SubClusterId> blackListSubClusters) This method provides a wrapper of all policy functionalities for routing .RouterPolicyFacade.getReservationHomeSubCluster(org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest request) This method provides a wrapper of all policy functionalities for routing a reservation.Methods in org.apache.hadoop.yarn.server.federation.policies that return types with arguments of type SubClusterIdModifier and TypeMethodDescriptionprotected Map<SubClusterId,SubClusterInfo> AbstractConfigurableFederationPolicy.getActiveSubclusters()This methods gets active subclusters map from theFederationStateStoreFacadeand validate it not being null/empty.Methods in org.apache.hadoop.yarn.server.federation.policies with parameters of type SubClusterIdModifier and TypeMethodDescriptionstatic FederationAMRMProxyPolicyFederationPolicyUtils.loadAMRMPolicy(String queue, FederationAMRMProxyPolicy oldPolicy, org.apache.hadoop.conf.Configuration conf, FederationStateStoreFacade federationFacade, SubClusterId homeSubClusterId) Get AMRMProxy policy from state store, using default queue and configuration as fallback.voidFederationPolicyInitializationContext.setHomeSubcluster(SubClusterId homeSubcluster) Sets in the context the home sub-cluster.Method parameters in org.apache.hadoop.yarn.server.federation.policies with type arguments of type SubClusterIdModifier and TypeMethodDescriptionRouterPolicyFacade.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext, List<SubClusterId> blackListSubClusters) This method provides a wrapper of all policy functionalities for routing .static voidFederationPolicyUtils.validateSubClusterAvailability(Collection<SubClusterId> activeSubClusters, Collection<SubClusterId> blackListSubClusters) Validate if there is any active subcluster that is not blacklisted, it will throw an exception if there are no usable subclusters.Constructors in org.apache.hadoop.yarn.server.federation.policies with parameters of type SubClusterIdModifierConstructorDescriptionFederationPolicyInitializationContext(SubClusterPolicyConfiguration policy, SubClusterResolver resolver, FederationStateStoreFacade storeFacade, SubClusterId home) RouterPolicyFacade(org.apache.hadoop.conf.Configuration conf, FederationStateStoreFacade facade, SubClusterResolver resolver, SubClusterId homeSubcluster) -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.policies.amrmproxy
Methods in org.apache.hadoop.yarn.server.federation.policies.amrmproxy that return SubClusterIdModifier and TypeMethodDescriptionprotected SubClusterIdLocalityMulticastAMRMProxyPolicy.getSubClusterForUnResolvedRequest(LocalityMulticastAMRMProxyPolicy.AllocationBookkeeper bookKeeper, long allocationId) For unit test to override.protected SubClusterIdLocalityMulticastAMRMProxyPolicy.routeNodeRequestIfNeeded(SubClusterId targetId, int maxThreshold, Set<SubClusterId> activeAndEnabledSCs) When certain subcluster is too loaded, reroute Node requests going there.Methods in org.apache.hadoop.yarn.server.federation.policies.amrmproxy that return types with arguments of type SubClusterIdModifier and TypeMethodDescriptionMap<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> BroadcastAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> FederationAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Splits theResourceRequests from the client across one or more sub-clusters based on the policy semantics (e.g., broadcast, load-based).Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> HomeAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> LocalityMulticastAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> RejectAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Methods in org.apache.hadoop.yarn.server.federation.policies.amrmproxy with parameters of type SubClusterIdModifier and TypeMethodDescriptionvoidAbstractAMRMProxyPolicy.notifyOfResponse(SubClusterId subClusterId, org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) voidFederationAMRMProxyPolicy.notifyOfResponse(SubClusterId subClusterId, org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) This method should be invoked to notify the policy about responses being received.voidLocalityMulticastAMRMProxyPolicy.notifyOfResponse(SubClusterId subClusterId, org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) protected SubClusterIdLocalityMulticastAMRMProxyPolicy.routeNodeRequestIfNeeded(SubClusterId targetId, int maxThreshold, Set<SubClusterId> activeAndEnabledSCs) When certain subcluster is too loaded, reroute Node requests going there.Method parameters in org.apache.hadoop.yarn.server.federation.policies.amrmproxy with type arguments of type SubClusterIdModifier and TypeMethodDescriptionprotected SubClusterIdLocalityMulticastAMRMProxyPolicy.routeNodeRequestIfNeeded(SubClusterId targetId, int maxThreshold, Set<SubClusterId> activeAndEnabledSCs) When certain subcluster is too loaded, reroute Node requests going there.Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> BroadcastAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> FederationAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Splits theResourceRequests from the client across one or more sub-clusters based on the policy semantics (e.g., broadcast, load-based).Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> HomeAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> LocalityMulticastAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) Map<SubClusterId,List<org.apache.hadoop.yarn.api.records.ResourceRequest>> RejectAMRMProxyPolicy.splitResourceRequests(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests, Set<SubClusterId> timedOutSubClusters) -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.policies.router
Methods in org.apache.hadoop.yarn.server.federation.policies.router that return SubClusterIdModifier and TypeMethodDescriptionprotected abstract SubClusterIdAbstractRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubClusters) This method is implemented by the specific policy, and it is used to route both reservations, and applications among a given set of sub-clusters.protected SubClusterIdHashBasedRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdLoadBasedRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdPriorityRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdRejectRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdUniformRandomRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdWeightedRandomRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) AbstractRouterPolicy.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appContext, List<SubClusterId> blackLists) Simply picks from alphabetically-sorted active subclusters based on the hash of query name.FederationRouterPolicy.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext, List<SubClusterId> blackListSubClusters) Determines the sub-cluster that the user application submission should be routed to.LocalityRouterPolicy.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext, List<SubClusterId> blackListSubClusters) AbstractRouterPolicy.getReservationHomeSubcluster(org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest request) This method provides a wrapper of all policy functionalities for routing a reservation.FederationRouterPolicy.getReservationHomeSubcluster(org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest request) Determines the sub-cluster where a ReservationSubmissionRequest should be sent to.Methods in org.apache.hadoop.yarn.server.federation.policies.router that return types with arguments of type SubClusterIdModifier and TypeMethodDescriptionprotected Map<SubClusterId,SubClusterInfo> AbstractRouterPolicy.prefilterSubClusters(org.apache.hadoop.yarn.api.records.ReservationId reservationId, Map<SubClusterId, SubClusterInfo> activeSubClusters) Filter chosen SubCluster based on reservationId.Method parameters in org.apache.hadoop.yarn.server.federation.policies.router with type arguments of type SubClusterIdModifier and TypeMethodDescriptionprotected abstract SubClusterIdAbstractRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubClusters) This method is implemented by the specific policy, and it is used to route both reservations, and applications among a given set of sub-clusters.protected SubClusterIdHashBasedRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdLoadBasedRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdPriorityRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdRejectRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdUniformRandomRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) protected SubClusterIdWeightedRandomRouterPolicy.chooseSubCluster(String queue, Map<SubClusterId, SubClusterInfo> preSelectSubclusters) AbstractRouterPolicy.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appContext, List<SubClusterId> blackLists) Simply picks from alphabetically-sorted active subclusters based on the hash of query name.FederationRouterPolicy.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext, List<SubClusterId> blackListSubClusters) Determines the sub-cluster that the user application submission should be routed to.LocalityRouterPolicy.getHomeSubcluster(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext, List<SubClusterId> blackListSubClusters) protected Map<SubClusterId,SubClusterInfo> AbstractRouterPolicy.prefilterSubClusters(org.apache.hadoop.yarn.api.records.ReservationId reservationId, Map<SubClusterId, SubClusterInfo> activeSubClusters) Filter chosen SubCluster based on reservationId. -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.resolver
Methods in org.apache.hadoop.yarn.server.federation.resolver that return SubClusterIdModifier and TypeMethodDescriptionAbstractSubClusterResolver.getSubClusterForNode(String nodename) DefaultSubClusterResolverImpl.getSubClusterForNode(String nodename) SubClusterResolver.getSubClusterForNode(String nodename) Obtain the sub-cluster that a specified node belongs to.Methods in org.apache.hadoop.yarn.server.federation.resolver that return types with arguments of type SubClusterIdModifier and TypeMethodDescriptionAbstractSubClusterResolver.getNodeToSubCluster()AbstractSubClusterResolver.getRackToSubClusters()AbstractSubClusterResolver.getSubClustersForRack(String rackname) DefaultSubClusterResolverImpl.getSubClustersForRack(String rackname) SubClusterResolver.getSubClustersForRack(String rackname) Obtain the sub-clusters that have nodes on a specified rack. -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.store.impl
Methods in org.apache.hadoop.yarn.server.federation.store.impl that return types with arguments of type SubClusterIdMethods in org.apache.hadoop.yarn.server.federation.store.impl with parameters of type SubClusterIdModifier and TypeMethodDescriptionvoidMemoryFederationStateStore.setExpiredHeartbeat(SubClusterId subClusterId, long heartBearTime) voidMemoryFederationStateStore.setSubClusterLastHeartbeat(SubClusterId subClusterId, long lastHeartbeat) Method parameters in org.apache.hadoop.yarn.server.federation.store.impl with type arguments of type SubClusterIdModifier and TypeMethodDescriptionvoidMemoryFederationStateStore.setMembership(Map<SubClusterId, SubClusterInfo> membership) -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.store.records
Methods in org.apache.hadoop.yarn.server.federation.store.records that return SubClusterIdModifier and TypeMethodDescriptionabstract SubClusterIdAddApplicationHomeSubClusterResponse.getHomeSubCluster()Get the home sub-cluster that this application has been assigned to.abstract SubClusterIdAddReservationHomeSubClusterResponse.getHomeSubCluster()Get the home sub-cluster that this Reservation has been assigned to.abstract SubClusterIdApplicationHomeSubCluster.getHomeSubCluster()Get theSubClusterIdrepresenting the unique identifier of the home subcluster in which the ApplicationMaster of the application is running.abstract SubClusterIdReservationHomeSubCluster.getHomeSubCluster()Get theSubClusterIdrepresenting the unique identifier of the home subcluster in which the reservation is mapped to.abstract SubClusterIdGetApplicationsHomeSubClusterRequest.getSubClusterId()Get theSubClusterIdrepresenting the unique identifier of the subcluster.abstract SubClusterIdGetSubClusterInfoRequest.getSubClusterId()Get theSubClusterIdrepresenting the unique identifier of the subcluster.abstract SubClusterIdSubClusterDeregisterRequest.getSubClusterId()Get theSubClusterIdrepresenting the unique identifier of the subcluster.abstract SubClusterIdSubClusterHeartbeatRequest.getSubClusterId()Get theSubClusterIdrepresenting the unique identifier of the subcluster.abstract SubClusterIdSubClusterInfo.getSubClusterId()Get theSubClusterIdrepresenting the unique identifier of the subcluster.static SubClusterIdSubClusterId.newInstance(Integer subClusterId) static SubClusterIdSubClusterId.newInstance(String subClusterId) SubClusterIdInfo.toId()Get the sub-cluster identifier asSubClusterId.Methods in org.apache.hadoop.yarn.server.federation.store.records with parameters of type SubClusterIdModifier and TypeMethodDescriptionintSubClusterId.compareTo(SubClusterId other) AddApplicationHomeSubClusterResponse.newInstance(SubClusterId homeSubCluster) AddReservationHomeSubClusterResponse.newInstance(SubClusterId homeSubCluster) static ApplicationHomeSubClusterApplicationHomeSubCluster.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, long createTime, SubClusterId homeSubCluster) static ApplicationHomeSubClusterApplicationHomeSubCluster.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, long createTime, SubClusterId homeSubCluster, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) static ApplicationHomeSubClusterApplicationHomeSubCluster.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster) static ApplicationHomeSubClusterApplicationHomeSubCluster.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) GetApplicationHomeSubClusterResponse.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster) GetApplicationHomeSubClusterResponse.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, long createTime) GetApplicationHomeSubClusterResponse.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, long createTime, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context) GetApplicationsHomeSubClusterRequest.newInstance(SubClusterId subClusterId) static GetSubClusterInfoRequestGetSubClusterInfoRequest.newInstance(SubClusterId subClusterId) static ReservationHomeSubClusterReservationHomeSubCluster.newInstance(org.apache.hadoop.yarn.api.records.ReservationId resId, SubClusterId homeSubCluster) static SubClusterDeregisterRequestSubClusterDeregisterRequest.newInstance(SubClusterId subClusterId, SubClusterState subClusterState) static SubClusterHeartbeatRequestSubClusterHeartbeatRequest.newInstance(SubClusterId subClusterId, long lastHeartBeat, SubClusterState state, String capability) static SubClusterHeartbeatRequestSubClusterHeartbeatRequest.newInstance(SubClusterId subClusterId, SubClusterState state, String capability) static SubClusterInfoSubClusterInfo.newInstance(SubClusterId subClusterId, String amRMServiceAddress, String clientRMServiceAddress, String rmAdminServiceAddress, String rmWebServiceAddress, long lastHeartBeat, SubClusterState state, long lastStartTime, String capability) static SubClusterInfoSubClusterInfo.newInstance(SubClusterId subClusterId, String amRMServiceAddress, String clientRMServiceAddress, String rmAdminServiceAddress, String rmWebServiceAddress, SubClusterState state, long lastStartTime, String capability) static SubClusterInfoSubClusterInfo.newInstance(SubClusterId subClusterId, String rmWebServiceAddress, SubClusterState state, long lastStartTime, long lastHeartBeat, String capability) abstract voidAddApplicationHomeSubClusterResponse.setHomeSubCluster(SubClusterId homeSubCluster) Set the home sub-cluster that this application has been assigned to.abstract voidAddReservationHomeSubClusterResponse.setHomeSubCluster(SubClusterId homeSubCluster) Set the home sub-cluster that this Reservation has been assigned to.abstract voidApplicationHomeSubCluster.setHomeSubCluster(SubClusterId homeSubCluster) Set theSubClusterIdrepresenting the unique identifier of the home subcluster in which the ApplicationMaster of the application is running.abstract voidReservationHomeSubCluster.setHomeSubCluster(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the home subcluster in which the ReservationMaster of the reservation is running.abstract voidGetApplicationsHomeSubClusterRequest.setSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subcluster.abstract voidGetSubClusterInfoRequest.setSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subcluster.abstract voidSubClusterDeregisterRequest.setSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subcluster.abstract voidSubClusterHeartbeatRequest.setSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subCluster.abstract voidSubClusterInfo.setSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subCluster.Constructors in org.apache.hadoop.yarn.server.federation.store.records with parameters of type SubClusterId -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.store.records.impl.pb
Methods in org.apache.hadoop.yarn.server.federation.store.records.impl.pb that return SubClusterIdModifier and TypeMethodDescriptionAddApplicationHomeSubClusterResponsePBImpl.getHomeSubCluster()AddReservationHomeSubClusterResponsePBImpl.getHomeSubCluster()ApplicationHomeSubClusterPBImpl.getHomeSubCluster()ReservationHomeSubClusterPBImpl.getHomeSubCluster()GetApplicationsHomeSubClusterRequestPBImpl.getSubClusterId()GetSubClusterInfoRequestPBImpl.getSubClusterId()SubClusterDeregisterRequestPBImpl.getSubClusterId()SubClusterHeartbeatRequestPBImpl.getSubClusterId()SubClusterInfoPBImpl.getSubClusterId()Methods in org.apache.hadoop.yarn.server.federation.store.records.impl.pb with parameters of type SubClusterIdModifier and TypeMethodDescriptionvoidAddApplicationHomeSubClusterResponsePBImpl.setHomeSubCluster(SubClusterId homeSubCluster) voidAddReservationHomeSubClusterResponsePBImpl.setHomeSubCluster(SubClusterId homeSubCluster) voidApplicationHomeSubClusterPBImpl.setHomeSubCluster(SubClusterId paramHomeSubCluster) voidReservationHomeSubClusterPBImpl.setHomeSubCluster(SubClusterId subClusterId) voidGetApplicationsHomeSubClusterRequestPBImpl.setSubClusterId(SubClusterId subClusterId) voidGetSubClusterInfoRequestPBImpl.setSubClusterId(SubClusterId subClusterId) voidSubClusterDeregisterRequestPBImpl.setSubClusterId(SubClusterId subClusterId) voidSubClusterHeartbeatRequestPBImpl.setSubClusterId(SubClusterId subClusterId) voidSubClusterInfoPBImpl.setSubClusterId(SubClusterId subClusterId) -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.store.utils
Methods in org.apache.hadoop.yarn.server.federation.store.utils with parameters of type SubClusterIdModifier and TypeMethodDescriptionprotected static voidFederationMembershipStateStoreInputValidator.checkSubClusterId(SubClusterId subClusterId) Validate if the SubCluster Id is present or not.static booleanFederationStateStoreUtils.filterHomeSubCluster(SubClusterId filterSubCluster, SubClusterId homeSubCluster) Filter HomeSubCluster based on Filter SubCluster. -
Uses of SubClusterId in org.apache.hadoop.yarn.server.federation.utils
Methods in org.apache.hadoop.yarn.server.federation.utils that return SubClusterIdModifier and TypeMethodDescriptionFederationStateStoreFacade.addApplicationHomeSubCluster(ApplicationHomeSubCluster appHomeSubCluster) Adds the homeSubClusterIdfor the specifiedApplicationId.FederationStateStoreFacade.addReservationHomeSubCluster(ReservationHomeSubCluster appHomeSubCluster) Adds the homeSubClusterIdfor the specifiedReservationId.FederationStateStoreFacade.getApplicationHomeSubCluster(org.apache.hadoop.yarn.api.records.ApplicationId appId) Returns the homeSubClusterIdfor the specifiedApplicationId.static SubClusterIdFederationStateStoreFacade.getRandomActiveSubCluster(Map<SubClusterId, SubClusterInfo> activeSubClusters, List<SubClusterId> blackList) Randomly pick ActiveSubCluster.FederationStateStoreFacade.getReservationHomeSubCluster(org.apache.hadoop.yarn.api.records.ReservationId reservationId) Returns the homeSubClusterIdfor the specifiedReservationId.Methods in org.apache.hadoop.yarn.server.federation.utils that return types with arguments of type SubClusterIdModifier and TypeMethodDescriptionFederationStateStoreFacade.getSubClusters(boolean filterInactiveSubClusters) Returns theSubClusterInfoof all active sub cluster(s).FederationStateStoreFacade.getSubClusters(boolean filterInactiveSubClusters, boolean flushCache) Updates the cache with the centralFederationStateStoreand returns theSubClusterInfoof all active sub cluster(s).Methods in org.apache.hadoop.yarn.server.federation.utils with parameters of type SubClusterIdModifier and TypeMethodDescriptionvoidFederationStateStoreFacade.addOrUpdateApplicationHomeSubCluster(org.apache.hadoop.yarn.api.records.ApplicationId applicationId, SubClusterId subClusterId, int retryCount, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) Add or Update ApplicationHomeSubCluster.voidFederationStateStoreFacade.addOrUpdateReservationHomeSubCluster(org.apache.hadoop.yarn.api.records.ReservationId reservationId, SubClusterId subClusterId, int retryCount) Add or Update ReservationHomeSubCluster.booleanFederationStateStoreFacade.deregisterSubCluster(SubClusterId subClusterId, SubClusterState subClusterState) Deregister subCluster, Update the subCluster state to SC_LOST、SC_DECOMMISSIONED etc.FederationStateStoreFacade.getSubCluster(SubClusterId subClusterId) Returns theSubClusterInfofor the specifiedSubClusterId.FederationStateStoreFacade.getSubCluster(SubClusterId subClusterId, boolean flushCache) Updates the cache with the centralFederationStateStoreand returns theSubClusterInfofor the specifiedSubClusterId.voidFederationStateStoreFacade.updateApplicationHomeSubCluster(SubClusterId subClusterId, org.apache.hadoop.yarn.api.records.ApplicationId applicationId, ApplicationHomeSubCluster homeSubCluster) Update ApplicationHomeSubCluster to FederationStateStore.voidFederationStateStoreFacade.updateReservationHomeSubCluster(SubClusterId subClusterId, org.apache.hadoop.yarn.api.records.ReservationId reservationId, ReservationHomeSubCluster homeSubCluster) Update Reservation And HomeSubCluster Mapping.Method parameters in org.apache.hadoop.yarn.server.federation.utils with type arguments of type SubClusterIdModifier and TypeMethodDescriptionstatic SubClusterIdFederationStateStoreFacade.getRandomActiveSubCluster(Map<SubClusterId, SubClusterInfo> activeSubClusters, List<SubClusterId> blackList) Randomly pick ActiveSubCluster.static SubClusterIdFederationStateStoreFacade.getRandomActiveSubCluster(Map<SubClusterId, SubClusterInfo> activeSubClusters, List<SubClusterId> blackList) Randomly pick ActiveSubCluster.