@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract class TimelineReaderClient
extends org.apache.hadoop.service.CompositeService
| Constructor and Description |
|---|
TimelineReaderClient(String name) |
| Modifier and Type | Method and Description |
|---|---|
static TimelineReaderClient |
createTimelineReaderClient()
Create a new instance of Timeline Reader Client.
|
abstract List<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity> |
getApplicationAttemptEntities(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String fields,
Map<String,String> filters,
long limit,
String fromId)
Gets application attempt entities.
|
abstract org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity |
getApplicationAttemptEntity(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
String fields,
Map<String,String> filters)
Gets application attempt entity.
|
abstract org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity |
getApplicationEntity(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String fields,
Map<String,String> filters)
Gets application entity.
|
abstract List<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity> |
getContainerEntities(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String fields,
Map<String,String> filters,
long limit,
String fromId)
Gets container entities for an application.
|
abstract org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity |
getContainerEntity(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String fields,
Map<String,String> filters)
Gets Timeline entity for the container.
|
addIfService, addService, getServices, removeService, serviceInit, serviceStart, serviceStopclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop@InterfaceAudience.Private public TimelineReaderClient(String name)
@InterfaceAudience.Public public static TimelineReaderClient createTimelineReaderClient()
public abstract org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity getApplicationEntity(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String fields,
Map<String,String> filters)
throws IOException
appId - application idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.IOExceptionpublic abstract org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity getApplicationAttemptEntity(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
String fields,
Map<String,String> filters)
throws IOException
appAttemptId - application attempt idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.IOExceptionpublic abstract List<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity> getApplicationAttemptEntities(org.apache.hadoop.yarn.api.records.ApplicationId appId, String fields, Map<String,String> filters, long limit, String fromId) throws IOException
appId - application idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.limit - Number of entities to return.fromId - Retrieve next set of generic ids from given fromIdIOExceptionpublic abstract org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity getContainerEntity(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String fields,
Map<String,String> filters)
throws IOException
containerId - container idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.IOExceptionpublic abstract List<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity> getContainerEntities(org.apache.hadoop.yarn.api.records.ApplicationId appId, String fields, Map<String,String> filters, long limit, String fromId) throws IOException
appId - application idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.limit - Number of entities to return.fromId - Retrieve next set of generic ids from given fromIdIOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.