public final class EntityTypeReader extends AbstractTimelineStorageReader
AbstractTimelineStorageReader.FlowContext
Constructor and Description |
---|
EntityTypeReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
readEntityTypes(org.apache.hadoop.conf.Configuration hbaseConf,
org.apache.hadoop.hbase.client.Connection conn)
Reads a set of timeline entity types from the HBase storage for the given
context.
|
protected void |
validateParams()
Validates the required parameters to read the entities.
|
augmentParams, defaultAugmentParams, getContext, lookupFlowContext
public EntityTypeReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
public Set<String> readEntityTypes(org.apache.hadoop.conf.Configuration hbaseConf, org.apache.hadoop.hbase.client.Connection conn) throws IOException
hbaseConf
- HBase Configuration.conn
- HBase Connection.IOException
- if any exception is encountered while reading entities.protected void validateParams()
AbstractTimelineStorageReader
validateParams
in class AbstractTimelineStorageReader
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.