@Deprecated @InterfaceAudience.Private public class MirroringTableStateManager extends TableStateManager
TableStateManager.TableStateNotFoundException| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
Deprecated.
|
(package private) static String |
MIRROR_TABLE_STATE_TO_ZK_KEY
Deprecated.
Set this key to true in Configuration to enable mirroring of table state out to zookeeper so
hbase-1.x clients can pick-up table state.
|
master| Constructor and Description |
|---|
MirroringTableStateManager(MasterServices master)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fixTableState(TableState tableState)
Deprecated.
For subclasses in case they want to do fixup post hbase:meta.
|
protected void |
metaStateDeleted(TableName tableName)
Deprecated.
|
protected void |
metaStateUpdated(TableName tableName,
TableState.State newState)
Deprecated.
|
private void |
updateZooKeeper(TableState tableState)
Deprecated.
|
deleteZooKeeper, getTablesInStates, getTableState, isTablePresent, isTableState, setDeletedTable, setTableState, setTableStateIfInStates, setTableStateIfNotInStates, startprivate static final org.slf4j.Logger LOG
static final String MIRROR_TABLE_STATE_TO_ZK_KEY
public MirroringTableStateManager(MasterServices master)
protected void metaStateUpdated(TableName tableName, TableState.State newState) throws IOException
metaStateUpdated in class TableStateManagerIOExceptionprotected void metaStateDeleted(TableName tableName) throws IOException
metaStateDeleted in class TableStateManagerIOExceptionprivate void updateZooKeeper(TableState tableState) throws IOException
IOExceptionprotected void fixTableState(TableState tableState) throws IOException
TableStateManagerfixTableState in class TableStateManagerIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.