Class TimelineReaderManager

java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderManager
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service

@Private @Unstable public class TimelineReaderManager extends org.apache.hadoop.service.AbstractService
This class wraps over the timeline reader store implementation. It does some non trivial manipulation of the timeline data before or after getting it from the backend store.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service

    org.apache.hadoop.service.Service.STATE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI)
    The API to confirm is a User is allowed to read this data.
    Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity>
    Get a set of entities matching given predicates by making a call to backend storage implementation.
    org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
    Get single timeline entity by making a call to backend storage implementation.
    Gets a list of available timeline entity types for an application.
    org.apache.hadoop.yarn.api.records.timeline.TimelineHealth
    Check if reader connection is alive.
    protected void
    serviceInit(org.apache.hadoop.conf.Configuration conf)
     

    Methods inherited from class org.apache.hadoop.service.AbstractService

    close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait