Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.ha |
Modifier and Type | Class and Description |
---|---|
class |
BackupState |
Modifier and Type | Field and Description |
---|---|
static HAState |
NameNode.ACTIVE_STATE |
static HAState |
NameNode.STANDBY_STATE |
Modifier and Type | Method and Description |
---|---|
protected HAState |
NameNode.createHAState() |
protected HAState |
BackupNode.createHAState() |
HAState |
NameNode.NameNodeHAContext.getState() |
Modifier and Type | Method and Description |
---|---|
void |
NameNode.NameNodeHAContext.setState(HAState s) |
Modifier and Type | Class and Description |
---|---|
class |
ActiveState
Active state of the namenode.
|
class |
StandbyState
Namenode standby state.
|
Modifier and Type | Method and Description |
---|---|
HAState |
HAContext.getState()
Get the state from the context
|
Modifier and Type | Method and Description |
---|---|
void |
HAState.setState(HAContext context,
HAState s)
Move from the existing state to a new state
|
void |
ActiveState.setState(HAContext context,
HAState s) |
void |
StandbyState.setState(HAContext context,
HAState s) |
void |
HAContext.setState(HAState state)
Set the state of the context to given
state |
protected void |
HAState.setStateInternal(HAContext context,
HAState s)
Internal method to transition the state of a given namenode to a new state.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.