Package org.apache.hadoop.yarn.server.federation.store.records
package org.apache.hadoop.yarn.server.federation.store.records
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this
work for additional information regarding copyright ownership. The ASF
licenses this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
ClassDescriptionThe request sent by the
RoutertoFederation state storeto map the home subcluster of a newly submitted application.AddApplicationHomeSubClusterResponse contains the answer from theFederationApplicationHomeSubClusterStoreto a request to insert a newly generated applicationId and its owner.The request sent by theRoutertoFederation state storeto map the home subcluster of a newly submitted Reservation.AddReservationHomeSubClusterResponse contains the answer from theFederationReservationHomeSubClusterStoreto a request to insert a newly generated ReservationId and its owner.ApplicationHomeSubCluster is a report of the runtime information of the application that is running in the federated cluster.The request toFederation state storeto delete the mapping of home subcluster of a submitted application.DeleteApplicationHomeSubClusterResponse contains the answer from theFederationApplicationHomeSubClusterStoreto a request to delete the mapping of home subcluster of a submitted application.This class is used for handling queue policy deletion requests.This class is used to respond to requests to delete PoliciesConfigurations.The request toFederation state storeto delete the mapping of home subcluster of a submitted reservation.DeleteReservationHomeSubClusterResponse contains the answer from theFederationReservationHomeSubClusterStoreto a request to delete the mapping of home subcluster of a submitted reservation.This class is used to respond to queue deletion requests and contains a list of queues.DeleteSubClusterPoliciesConfigurationsResponse contains the answer from theFederationPolicyStoreto a request to delete policy configurations for given queues.Request class to obtain the home sub-cluster for the specifiedApplicationId.The response sent byFederation state storeto a query for the home subcluster of a newly submitted application.Request class to obtain the home sub-cluster mapping of all active applications.The response sent byFederation state storeto a query for the home subcluster of all submitted applications.Request class to obtain the home sub-cluster for the specifiedReservationId.The response sent byFederation state storeto a query for the home subcluster of a newly submitted reservation.Request class to obtain the home sub-cluster mapping of all active reservations.The response sent byFederation state storeto a query for the home subcluster of all submitted reservations.Request class to obtain information about a sub-cluster identified by itsSubClusterId.Response to a query withSubClusterInfoabout a sub-cluster.GetSubClusterPoliciesConfigurationsRequest is a request to theFederationPolicyStoreto obtain all policy configurations.GetSubClusterPolicyConfigurationResponse contains the answer from theFederationPolicyStoreto a request to get all the policies configured in the system via aSubClusterPolicyConfiguration.GetSubClusterPolicyConfigurationRequest is a request to theFederationPolicyStoreto get the configuration of a policy for a given queue.GetSubClusterPolicyConfigurationResponse contains the answer from theFederationPolicyStoreto a request to get the information about how a policy should be configured via aSubClusterPolicyConfiguration.Request class to obtain information about all sub-clusters that are participating in federation.Response to a query with list ofSubClusterInfoabout all sub-clusters that are currently participating in Federation.ReservationHomeSubCluster is a report of the runtime information of the reservation that is running in the federated cluster.SetSubClusterPolicyConfigurationRequest is a request to theFederationPolicyStoreto set the policy configuration corresponding to a queue.SetSubClusterPolicyConfigurationResponse contains the answer from theFederationPolicyStoreto a request to set for a policy configuration for a given queue.The request sent to set the state of a subcluster to either SC_DECOMMISSIONED, SC_LOST, or SC_DEREGISTERED.SubClusterDeregisterResponse contains the answer from theFederationMembershipStateStoreto a request to deregister the sub cluster.SubClusterHeartbeatRequest is a report of the runtime information of the subcluster that is participating in federation.SubClusterHeartbeatResponse contains the response from theFederationMembershipStateStoreto a periodic heartbeat to indicate liveliness from aResourceManagerparticipating in federation.SubClusterId represents the globally unique identifier for a subcluster that is participating in federation.This class represent a sub-cluster identifier in the JSON representation of the policy configuration.SubClusterInfo is a report of the runtime information of the subcluster that is participating in federation.SubClusterPolicyConfigurationis a class that represents a configuration of a policy.SubClusterRegisterRequest is a request by a sub-clusterResourceManagerto participate in federation.SubClusterRegisterResponse contains the response from theFederationMembershipStateStoreto a registration request from aResourceManagerto participate in federation.State of aSubCluster.The request sent by theRoutertoFederation state storeto update the home subcluster of a newly submitted application.UpdateApplicationHomeSubClusterResponse contains the answer from theFederationApplicationHomeSubClusterStoreto a request to register the home subcluster of a submitted application.The request sent by theRoutertoFederation state storeto update the home subcluster of a newly submitted reservation.UpdateReservationHomeSubClusterResponse contains the answer from theFederationReservationHomeSubClusterStoreto a request to register the home subcluster of a submitted reservation.