Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.util |
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) |
private static Optional<TableState> |
AsyncMetaTableAccessor.getTableState(Result r) |
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
|
private static void |
MetaTableAccessor.updateTableState(Connection connection,
TableState state)
Update state of the table in meta.
|
Modifier and Type | Method and Description |
---|---|
static TableState |
TableState.convert(TableName tableName,
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableState tableState)
Covert from PB version of TableState
|
TableState |
ClusterConnection.getTableState(TableName tableName)
Retrieve TableState, represent current table state.
|
TableState |
ConnectionImplementation.getTableState(TableName tableName) |
static TableState |
TableState.parseFrom(TableName tableName,
byte[] bytes) |
TableState |
HBaseHbck.setTableStateInMeta(TableState state)
NOTE: This is a dangerous action, as existing running procedures for the table or regions
which belong to the table may get confused.
|
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
Modifier and Type | Method and Description |
---|---|
TableState |
HBaseHbck.setTableStateInMeta(TableState state)
NOTE: This is a dangerous action, as existing running procedures for the table or regions
which belong to the table may get confused.
|
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
Modifier and Type | Method and Description |
---|---|
private TableState |
TableNamespaceManager.getTableState() |
TableState |
TableStateManager.getTableState(TableName tableName) |
private TableState |
TableStateManager.readMetaState(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.
|
private void |
MirroringTableStateManager.updateZooKeeper(TableState tableState)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private Map<TableName,TableState> |
HBaseFsck.tableStates |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.