java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriterpublic 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 | Description |
|---|---|
DocumentStoreTimelineWriterImpl() |
| Modifier and Type | Method | 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() |
|
org.apache.hadoop.yarn.api.records.timeline.TimelineHealth |
getHealthStatus() |
|
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 java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionpublic 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 java.io.IOException
write in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriterjava.io.IOExceptionpublic org.apache.hadoop.yarn.api.records.timeline.TimelineHealth getHealthStatus()
getHealthStatus in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineWriterpublic 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–2025 Apache Software Foundation. All rights reserved.