@Alpha public class GobblinServiceManager extends Object implements ApplicationLauncher, StandardMetricsBridge
StandardMetricsBridge.StandardMetrics| Constructor and Description |
|---|
GobblinServiceManager(String serviceName,
String serviceId,
com.typesafe.config.Config config,
com.google.common.base.Optional<org.apache.hadoop.fs.Path> serviceWorkDirOptional) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<StandardMetricsBridge.StandardMetrics> |
getStandardMetricsCollection() |
boolean |
isLeader() |
static void |
main(String[] args) |
void |
start() |
void |
stop() |
public static final String SERVICE_NAME_OPTION_NAME
public static final String SERVICE_ID_OPTION_NAME
protected final ServiceBasedAppLauncher serviceLauncher
protected final com.google.common.eventbus.EventBus eventBus
protected final org.apache.hadoop.fs.FileSystem fs
protected final org.apache.hadoop.fs.Path serviceWorkDir
protected final String serviceName
protected final String serviceId
protected final boolean isTopologyCatalogEnabled
protected final boolean isFlowCatalogEnabled
protected final boolean isSchedulerEnabled
protected final boolean isRestLIServerEnabled
protected final boolean isTopologySpecFactoryEnabled
protected final boolean isGitConfigMonitorEnabled
protected final boolean isDagManagerEnabled
protected final boolean isJobStatusMonitorEnabled
protected TopologyCatalog topologyCatalog
protected FlowCatalog flowCatalog
protected GobblinServiceJobScheduler scheduler
protected GobblinServiceFlowConfigResourceHandler resourceHandler
protected GobblinServiceFlowConfigResourceHandler v2ResourceHandler
protected boolean flowCatalogLocalCommit
protected Orchestrator orchestrator
protected org.apache.gobblin.restli.EmbeddedRestliServer restliServer
protected TopologySpecFactory topologySpecFactory
protected com.google.common.base.Optional<org.apache.helix.HelixManager> helixManager
protected ClassAliasResolver<TopologySpecFactory> aliasResolver
protected GitConfigMonitor gitConfigMonitor
protected DagManager dagManager
protected KafkaJobStatusMonitor jobStatusMonitor
protected com.google.common.base.Optional<org.apache.gobblin.service.modules.core.GobblinServiceManager.HelixLeaderState> helixLeaderGauges
protected com.typesafe.config.Config config
public boolean isLeader()
public void start()
throws ApplicationException
start in interface ApplicationLauncherApplicationExceptionpublic void stop()
throws ApplicationException
stop in interface ApplicationLauncherApplicationExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Collection<StandardMetricsBridge.StandardMetrics> getStandardMetricsCollection()
getStandardMetricsCollection in interface StandardMetricsBridge