| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.namenode.ha |
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
NameNode.NameNodeHAContext |
| Modifier and Type | Method | Description |
|---|---|---|
protected HAContext |
NameNode.createHAContext() |
|
HAContext |
FSNamesystem.getHAContext() |
|
HAContext |
Namesystem.getHAContext() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BackupState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
|
void |
BackupState.enterState(HAContext context) |
|
void |
BackupState.exitState(HAContext context) |
|
void |
BackupState.prepareToExitState(HAContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ActiveState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
|
abstract void |
HAState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
Check if an operation is supported in a given state.
|
void |
StandbyState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
|
void |
ActiveState.enterState(HAContext context) |
|
abstract void |
HAState.enterState(HAContext context) |
Method to be overridden by subclasses to perform steps necessary for
entering a state.
|
void |
StandbyState.enterState(HAContext context) |
|
void |
ActiveState.exitState(HAContext context) |
|
abstract void |
HAState.exitState(HAContext context) |
Method to be overridden by subclasses to perform steps necessary for
exiting a state.
|
void |
StandbyState.exitState(HAContext context) |
|
void |
HAState.prepareToEnterState(HAContext context) |
Method to be overridden by subclasses to prepare to enter a state.
|
void |
HAState.prepareToExitState(HAContext context) |
Method to be overridden by subclasses to prepare to exit a state.
|
void |
StandbyState.prepareToExitState(HAContext context) |
|
void |
ActiveState.setState(HAContext context,
HAState s) |
|
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.