Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Method and Description |
---|---|
static TableState |
MetaTableAccessor.getTableState(Connection conn,
TableName tableName)
Fetch table state for given table from META table
|
static TableState |
MetaTableAccessor.getTableState(Result r)
Decode table state from META Result.
|
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<Optional<TableState>> |
AsyncMetaTableAccessor.getTableState(AsyncTable<?> metaTable,
TableName tableName) |
static Map<TableName,TableState> |
MetaTableAccessor.getTableStates(Connection conn)
Fetch table states from META table
|
Modifier and Type | Method and Description |
---|---|
static Put |
MetaTableAccessor.makePutFromTableState(TableState state,
long ts)
Construct PUT for given state
|
Modifier and Type | Method and Description |
---|---|
static TableState |
TableState.convert(TableName tableName,
HBaseProtos.TableState tableState)
Covert from PB version of TableState
|
TableState |
ClusterConnection.getTableState(TableName tableName)
Retrieve TableState, represent current table state.
|
static TableState |
TableState.parseFrom(TableName tableName,
byte[] bytes) |
TableState |
HBaseHbck.setTableStateInMeta(TableState state) |
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
Modifier and Type | Method and Description |
---|---|
TableState |
HBaseHbck.setTableStateInMeta(TableState state) |
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
Modifier and Type | Method and Description |
---|---|
TableState |
TableStateManager.getTableState(TableName tableName) |
TableState |
TableStateManager.setTableStateIfInStates(TableName tableName,
TableState.State newState,
TableState.State... states)
Set table state to provided but only if table in specified states Caller should lock table on
write.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MirroringTableStateManager.fixTableState(TableState tableState)
Deprecated.
|
protected void |
TableStateManager.fixTableState(TableState tableState)
For subclasses in case they want to do fixup post hbase:meta.
|
Modifier and Type | Method and Description |
---|---|
static MasterProtos.SetTableStateInMetaRequest |
RequestConverter.buildSetTableStateInMetaRequest(TableState state)
Creates a protocol buffer SetTableStateInMetaRequest
|
Copyright © 2007–2019 Cloudera. All rights reserved.