@Deprecated @InterfaceAudience.Private public class MirroringTableStateManager extends TableStateManager
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, start
private 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 TableStateManager
IOException
protected void metaStateDeleted(TableName tableName) throws IOException
metaStateDeleted
in class TableStateManager
IOException
private void updateZooKeeper(TableState tableState) throws IOException
IOException
protected void fixTableState(TableState tableState) throws IOException
TableStateManager
fixTableState
in class TableStateManager
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.