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) |
TableState |
Hbck.setTableStateInMeta(TableState state)
Update table state in Meta only.
|
Modifier and Type | Method and Description |
---|---|
private static CompletableFuture<Boolean> |
RawAsyncHBaseAdmin.completeCheckTableState(CompletableFuture<Boolean> future,
TableState tableState,
Throwable error,
TableState.State targetState,
TableName tableName)
Utility for completing passed TableState
CompletableFuture future using
passed parameters. |
TableState |
HBaseHbck.setTableStateInMeta(TableState state) |
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) |
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
Deprecated.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.