| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.timelineservice.reader.filter |
Package org.apache.hadoop.server.timelineservice.reader.filter stores
timeline filter implementations.
|
| org.apache.hadoop.yarn.server.timelineservice.storage.application |
Package org.apache.hadoop.yarn.server.timelineservice.storage.application
contains classes related to implementation for application table.
|
| org.apache.hadoop.yarn.server.timelineservice.storage.apptoflow |
Package org.apache.hadoop.yarn.server.timelineservice.storage.apptoflow
contains classes related to implementation for app to flow table.
|
| org.apache.hadoop.yarn.server.timelineservice.storage.entity |
Package org.apache.hadoop.yarn.server.timelineservice.storage.entity
contains classes related to implementation for entity table.
|
| org.apache.hadoop.yarn.server.timelineservice.storage.flow |
Package org.apache.hadoop.yarn.server.timelineservice.storage.flow
contains classes related to implementation for flow related tables, viz.
|
| org.apache.hadoop.yarn.server.timelineservice.storage.reader |
Package org.apache.hadoop.yarn.server.timelineservice.storage.reader
contains classes used to read entities from backend based on query type.
|
| org.apache.hadoop.yarn.server.timelineservice.storage.subapplication |
Package org.apache.hadoop.yarn.server.timelineservice.storage.subapplication
contains classes related to implementation for subapplication table.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> org.apache.hadoop.hbase.filter.Filter |
TimelineFilterUtils.createFilterForConfsOrMetricsToRetrieve(org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilterList confsOrMetricToRetrieve,
ColumnFamily<T> columnFamily,
ColumnPrefix<T> columnPrefix)
Create filters for confs or metrics to retrieve.
|
static <T> org.apache.hadoop.hbase.filter.FilterList |
TimelineFilterUtils.createHBaseFilterList(ColumnPrefix<T> colPrefix,
org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilterList filterList)
Creates equivalent HBase
FilterList from TimelineFilterList
while converting different timeline filters(of type TimelineFilter)
into their equivalent HBase filters. |
static <T> org.apache.hadoop.hbase.filter.Filter |
TimelineFilterUtils.createHBaseQualifierFilter(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp,
ColumnPrefix<T> columnPrefix)
Create a HBase
QualifierFilter for the passed column prefix and
compare op. |
| Modifier and Type | Class and Description |
|---|---|
class |
ApplicationColumnPrefix
Identifies partially qualified columns for the application table.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AppToFlowColumnPrefix
Identifies partially qualified columns for the app-to-flow table.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EntityColumnPrefix
Identifies partially qualified columns for the entity table.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FlowActivityColumnPrefix
Identifies partially qualified columns for the
FlowActivityTable. |
class |
FlowRunColumnPrefix
Identifies partially qualified columns for the
FlowRunTable. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> byte[] |
TimelineEntityReader.createColQualifierPrefix(ColumnPrefix<T> colPrefix,
String column) |
protected <T> org.apache.hadoop.hbase.filter.FilterList |
TimelineEntityReader.createFiltersFromColumnQualifiers(ColumnPrefix<T> colPrefix,
Set<String> columns)
Create a filter list of qualifier filters based on passed set of columns.
|
protected static <T> void |
TimelineEntityReader.readEvents(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
org.apache.hadoop.hbase.client.Result result,
ColumnPrefix<T> prefix)
Read events from the entity table or the application table.
|
protected void |
TimelineEntityReader.readMetrics(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
org.apache.hadoop.hbase.client.Result result,
ColumnPrefix<?> columnPrefix)
Helper method for reading and deserializing
TimelineMetric objects
using the specified column prefix. |
protected <T> void |
TimelineEntityReader.readRelationship(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
org.apache.hadoop.hbase.client.Result result,
ColumnPrefix<T> prefix,
boolean isRelatedTo)
Helper method for reading relationship.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SubApplicationColumnPrefix
Identifies partially qualified columns for the sub app table.
|
Copyright © 2018 Apache Software Foundation. All Rights Reserved.