Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12347

Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This was introduced by HADOOP-12050 as evident in the build errors:

      <https://builds.apache.org/job/Hadoop-common-trunk-Java8/ws/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java>:101: warning: no @param for interval
        public void setMaxInactives(long interval) {
                    ^
      <https://builds.apache.org/job/Hadoop-common-trunk-Java8/ws/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationToken.java>:65: error: @param name not found
         * @param max inactive time of the token in milliseconds since the epoch.
      

        Activity

        Hide
        arpitagarwal Arpit Agarwal added a comment -

        +1 for the patch. This should be okay to commit without a Jenkins +1 to unblock other pre-commit builds.

        Thanks for the quick fix Xiaoyu Yao.

        Show
        arpitagarwal Arpit Agarwal added a comment - +1 for the patch. This should be okay to commit without a Jenkins +1 to unblock other pre-commit builds. Thanks for the quick fix Xiaoyu Yao .
        Hide
        xyao Xiaoyu Yao added a comment -

        Thanks Arpit Agarwal for the review. I've commit the patch to trunk and branch-2. Also add the missing entry for HADOOP-12050 to CHANGES.txt.

        Show
        xyao Xiaoyu Yao added a comment - Thanks Arpit Agarwal for the review. I've commit the patch to trunk and branch-2. Also add the missing entry for HADOOP-12050 to CHANGES.txt.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #8335 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8335/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8335 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8335/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #292 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/292/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #292 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/292/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #295 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/295/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #295 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/295/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #284 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/284/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #284 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/284/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #1025 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1025/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #1025 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1025/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2241 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2241/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2241 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2241/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2222 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2222/)
        HADOOP-12347. Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf)

        • hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2222 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2222/ ) HADOOP-12347 . Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives. Contributed by Xiaoyu Yao (xyao: rev caa636bf10d96ca2d4e151225fb46134ce99f9cf) hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java hadoop-common-project/hadoop-common/CHANGES.txt

          People

          • Assignee:
            xyao Xiaoyu Yao
            Reporter:
            xyao Xiaoyu Yao
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development