List of usage examples for org.apache.hadoop.service CompositeService subclass-usage
From source file com.datatorrent.stram.StreamingAppMasterService.java
/** * Streaming Application Master * * @since 0.3.2 */ public class StreamingAppMasterService extends CompositeService {
From source file com.datatorrent.stram.StreamingContainerParent.java
/**
*
* Stram side implementation of communication protocol with hadoop container<p>
* <br>
*
* @since 0.3.2
From source file com.hortonworks.minicluster.MiniHadoopCluster.java
/** * COPIED FROM APACHE with minor modification mainly to allow bootstrapping from * provided configuration file. * */ public class MiniHadoopCluster extends CompositeService {
From source file io.hops.util.GroupMembershipService.java
public class GroupMembershipService extends CompositeService implements GroupMembership, HAServiceProtocol { private static final Log LOG = LogFactory.getLog(GroupMembershipService.class); private final RMContext rmContext; private final ResourceManager rm; private Server server;
From source file kr.co.bitnine.octopus.master.OctopusMaster.java
public final class OctopusMaster extends CompositeService { public static final int SHUTDOWN_HOOK_PRIORITY = 30; private static final Log LOG = LogFactory.getLog(OctopusMaster.class); public OctopusMaster() {
From source file org.apache.hoya.yarn.service.CompoundService.java
/**
* An extended composite service which not only makes the
* addService method public, it auto-registers
* itself as a listener for state change events.
*
* When all child services has stopped, this service stops itself.
From source file org.apache.slider.server.appmaster.management.MetricsAndMonitoring.java
/** * Class for all metrics and monitoring */ public class MetricsAndMonitoring extends CompositeService { protected static final Logger log = LoggerFactory.getLogger(MetricsAndMonitoring.class);
From source file org.apache.slider.server.appmaster.management.MetricsBindingService.java
/** * YARN service which hooks up Codahale metrics to * JMX, and, if enabled Ganglia and/or an SLF4J log. */ public class MetricsBindingService extends CompositeService implements MetricsKeys { protected static final Logger log = LoggerFactory.getLogger(MetricsBindingService.class);
From source file org.apache.slider.server.services.workflow.WorkflowCompositeService.java
/**
* An extended composite service which stops itself if any child service
* fails, or when all its children have successfully stopped without failure.
*
* Lifecycle
* <ol>
From source file org.apache.solr.hadoop.hack.MiniYARNCluster.java
public class MiniYARNCluster extends CompositeService { private static final Log LOG = LogFactory.getLog(MiniYARNCluster.class); // temp fix until metrics system can auto-detect itself running in unit test: static {