hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HDFS-10589. Javadoc for HAState#HAState and HAState#setStateInternal contains non-existent params. Contributed by shenyinjie.
Date Mon, 04 Jul 2016 14:16:33 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 5057390ca -> 0401adcac


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

(cherry picked from commit 8b4b5259d5088360476b4582c4cf7b0e7973eff3)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0401adca
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0401adca
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0401adca

Branch: refs/heads/branch-2
Commit: 0401adcaca5f2e9680bc2dc3602af8696d204f21
Parents: 5057390
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Mon Jul 4 07:15:04 2016 -0700
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Mon Jul 4 07:15:44 2016 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hdfs/server/namenode/ha/HAState.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/0401adca/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/HAState.java
----------------------------------------------------------------------
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 f300710..f569748 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.
    */


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message