Package | Description |
---|---|
org.apache.hadoop.ha | |
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.ha |
Modifier and Type | Method and Description |
---|---|
void |
ActiveStandbyElector.ActiveStandbyElectorCallback.becomeActive()
This method is called when the app becomes the active leader.
|
void |
HAServiceProtocol.transitionToActive(HAServiceProtocol.StateChangeRequestInfo reqInfo)
Request service to transition to active state.
|
void |
HAServiceProtocol.transitionToStandby(HAServiceProtocol.StateChangeRequestInfo reqInfo)
Request service to transition to standby state.
|
Modifier and Type | Method and Description |
---|---|
void |
BackupState.enterState(HAContext context) |
void |
BackupState.exitState(HAContext context) |
void |
BackupState.prepareToExitState(HAContext context) |
void |
NameNode.NameNodeHAContext.prepareToStopStandbyServices() |
Modifier and Type | Method and Description |
---|---|
void |
StandbyCheckpointer.cancelAndPreventCheckpoints(String msg)
Cancel any checkpoint that's currently being made,
and prevent any new checkpoints from starting for the next
minute or so.
|
abstract void |
HAState.enterState(HAContext context)
Method to be overridden by subclasses to perform steps necessary for
entering a state.
|
void |
ActiveState.enterState(HAContext context) |
void |
StandbyState.enterState(HAContext context) |
abstract void |
HAState.exitState(HAContext context)
Method to be overridden by subclasses to perform steps necessary for
exiting a state.
|
void |
ActiveState.exitState(HAContext context) |
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 |
HAContext.prepareToStopStandbyServices()
Prepare to exit the standby state
|
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) |
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.