From 4b263b30c21255e1d91346914857d0113204d3d7 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Mon, 4 Jul 2016 07:15:04 -0700 Subject: [PATCH] HDFS-10589. Javadoc for HAState#HAState and HAState#setStateInternal contains non-existent params. Contributed by shenyinjie. (cherry picked from commit 8b4b5259d5088360476b4582c4cf7b0e7973eff3) (cherry picked from commit 0401adcaca5f2e9680bc2dc3602af8696d204f21) --- .../org/apache/hadoop/hdfs/server/namenode/ha/HAState.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/HAState.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/HAState.java index f30071018f6..f56974864d6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/HAState.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/HAState.java @@ -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. */