HDFS-10589. Javadoc for HAState#HAState and HAState#setStateInternal contains non-existent params. Contributed by shenyinjie.
(cherry picked from commit 8b4b5259d5088360476b4582c4cf7b0e7973eff3)
This commit is contained in:
parent
5057390cad
commit
0401adcaca
@ -34,7 +34,7 @@ abstract public class HAState {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
* @param name Name of the state.
|
* @param state HA service state.
|
||||||
*/
|
*/
|
||||||
public HAState(HAServiceState state) {
|
public HAState(HAServiceState state) {
|
||||||
this.state = state;
|
this.state = state;
|
||||||
@ -48,8 +48,8 @@ public HAServiceState getServiceState() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal method to transition the state of a given namenode to a new state.
|
* Internal method to move from the existing state to a new state.
|
||||||
* @param nn Namenode
|
* @param context HA context
|
||||||
* @param s new state
|
* @param s new state
|
||||||
* @throws ServiceFailedException on failure to transition to new state.
|
* @throws ServiceFailedException on failure to transition to new state.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user