public class ResourceManagerRunner extends Object implements FatalErrorHandler
StandaloneResourceManager runner. It instantiates the resource manager's services
and handles fatal errors by shutting the resource manager down.| Constructor and Description |
|---|
ResourceManagerRunner(ResourceID resourceId,
String resourceManagerEndpointId,
Configuration configuration,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
MetricRegistry metricRegistry) |
public ResourceManagerRunner(ResourceID resourceId, String resourceManagerEndpointId, Configuration configuration, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, MetricRegistry metricRegistry) throws Exception
Exceptionpublic void onFatalError(Throwable exception)
onFatalError in interface FatalErrorHandlerCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.