public final class HBaseTimelineStorageUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static byte[] |
calculateTheClosestNextRowKeyForPrefix(byte[] rowKeyPrefix) |
Given a row key prefix stored in a byte array, return a byte array for its
immediate next row key.
|
static org.apache.hadoop.conf.Configuration |
getTimelineServiceHBaseConf(org.apache.hadoop.conf.Configuration conf) |
|
static void |
setMetricsTimeRange(org.apache.hadoop.hbase.client.Query query,
byte[] metricsCf,
long tsBegin,
long tsEnd) |
public static org.apache.hadoop.conf.Configuration getTimelineServiceHBaseConf(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
conf - YARN configuration. Used to see if there is an explicit config
pointing to the HBase config file to read. It should not be null
or a NullPointerException will be thrown.java.io.IOException - if a timeline service HBase configuration URL
is specified but unable to read it.public static byte[] calculateTheClosestNextRowKeyForPrefix(byte[] rowKeyPrefix)
rowKeyPrefix - The provided row key prefix, represented in an array.public static void setMetricsTimeRange(org.apache.hadoop.hbase.client.Query query,
byte[] metricsCf,
long tsBegin,
long tsEnd)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.