public class DocumentStoreTimelineWriterImpl
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriter
DocumentStoreVendor
that is
configured, the documents are written to that backend.Constructor and Description |
---|
DocumentStoreTimelineWriterImpl() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse |
aggregate(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity data,
org.apache.hadoop.yarn.server.timelineservice.storage.TimelineAggregationTrack track) |
void |
flush() |
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse |
write(org.apache.hadoop.yarn.server.timelineservice.collector.TimelineCollectorContext context,
org.apache.hadoop.yarn.api.records.timelineservice.TimelineDomain domain) |
org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse |
write(org.apache.hadoop.yarn.server.timelineservice.collector.TimelineCollectorContext context,
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntities data,
org.apache.hadoop.security.UserGroupInformation callerUgi) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.AbstractService
Exception
public org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse write(org.apache.hadoop.yarn.server.timelineservice.collector.TimelineCollectorContext context, org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntities data, org.apache.hadoop.security.UserGroupInformation callerUgi)
write
in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriter
public org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse write(org.apache.hadoop.yarn.server.timelineservice.collector.TimelineCollectorContext context, org.apache.hadoop.yarn.api.records.timelineservice.TimelineDomain domain) throws IOException
write
in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriter
IOException
public org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse aggregate(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity data, org.apache.hadoop.yarn.server.timelineservice.storage.TimelineAggregationTrack track)
aggregate
in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriter
public void flush()
flush
in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriter
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.