HDFS-10589. Javadoc for HAState#HAState and HAState#setStateInternal contains non-existent params. Contributed by shenyinjie.

This commit is contained in:
Akira Ajisaka 2016-07-04 07:15:04 -07:00
parent 2e835d986e
commit 8b4b5259d5
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ abstract public class HAState {
/**
* Constructor
* @param name Name of the state.
* @param state HA service state.
*/
public HAState(HAServiceState state) {
this.state = state;
@ -48,8 +48,8 @@ abstract public class HAState {
}
/**
* Internal method to transition the state of a given namenode to a new state.
* @param nn Namenode
* Internal method to move from the existing state to a new state.
* @param context HA context
* @param s new state
* @throws ServiceFailedException on failure to transition to new state.
*/