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, waitForServiceToStoppublic void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic 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.TimelineWriterpublic 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.TimelineWriterIOExceptionpublic 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.TimelineWriterpublic void flush()
flush in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriterCopyright © 2008–2023 Apache Software Foundation. All rights reserved.