public class DocumentStoreTimelineReaderImpl
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReader
DocumentStoreVendor that is
 configured, the  documents are read from that backend.| Constructor and Description | 
|---|
| DocumentStoreTimelineReaderImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity> | getEntities(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
           org.apache.hadoop.yarn.server.timelineservice.reader.TimelineEntityFilters filters,
           org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve) | 
| org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity | getEntity(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
         org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve) | 
| Set<String> | getEntityTypes(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) | 
| org.apache.hadoop.yarn.api.records.timeline.TimelineHealth | getHealthStatus() | 
| void | serviceInit(org.apache.hadoop.conf.Configuration conf) | 
| void | serviceStop() | 
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic void serviceInit(org.apache.hadoop.conf.Configuration conf)
                 throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionpublic void serviceStop()
                 throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity getEntity(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
                                                                                   org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve)
                                                                            throws IOException
getEntity in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReaderIOExceptionpublic Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity> getEntities(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineEntityFilters filters, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve) throws IOException
getEntities in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReaderIOExceptionpublic Set<String> getEntityTypes(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
getEntityTypes in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReaderpublic org.apache.hadoop.yarn.api.records.timeline.TimelineHealth getHealthStatus()
getHealthStatus in interface org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReaderCopyright © 2008–2023 Apache Software Foundation. All rights reserved.