Class RMContextImpl

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl
All Implemented Interfaces:
org.apache.hadoop.yarn.ams.ApplicationMasterServiceContext, RMContext

public class RMContextImpl extends Object implements RMContext
RMContextImpl class holds two services context.
  • serviceContext : These services called as Always On services. Services that need to run always irrespective of the HA state of the RM.
  • activeServiceCotext : Active services context. Services that need to run only on the Active RM.

Note: If any new service to be added to context, add it to a right context as per above description.