Class ProxyCAManager
java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.resourcemanager.security.ProxyCAManager
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.service.Service,Recoverable
@Private
@Unstable
public class ProxyCAManager
extends org.apache.hadoop.service.AbstractService
implements Recoverable
Manager for
ProxyCA, which contains the Certificate Authority for
AMs to have certificates for HTTPS communication with the RM Proxy.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service
org.apache.hadoop.service.Service.STATE -
Constructor Summary
ConstructorsConstructorDescriptionProxyCAManager(org.apache.hadoop.yarn.server.webproxy.ProxyCA proxyCA, RMContext rmContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.server.webproxy.ProxyCAvoidrecover(RMStateStore.RMState state) protected voidprotected voidMethods inherited from class org.apache.hadoop.service.AbstractService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
-
Constructor Details
-
ProxyCAManager
-
-
Method Details
-
serviceStart
- Overrides:
serviceStartin classorg.apache.hadoop.service.AbstractService- Throws:
Exception
-
serviceStop
- Overrides:
serviceStopin classorg.apache.hadoop.service.AbstractService- Throws:
Exception
-
getProxyCA
public org.apache.hadoop.yarn.server.webproxy.ProxyCA getProxyCA() -
recover
- Specified by:
recoverin interfaceRecoverable- Throws:
GeneralSecurityExceptionIOException
-