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