Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4600

TestTokenCache.java from MRV1 no longer compiles

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha, 3.0.0, 2.0.2-alpha
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: None
    • Labels:
      None

      Description

          [javac] hadoop-mapreduce-project/build.xml:569: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
          [javac] Compiling 95 source files to hadoop-mapreduce-project/build/test/mapred/classes
          [javac] hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java:291: cannot find symbol
          [javac] symbol  : method getDelegationToken(org.apache.hadoop.security.Credentials,java.lang.String)
          [javac] location: class org.apache.hadoop.mapreduce.security.TokenCache
          [javac]     Token<DelegationTokenIdentifier> nnt = TokenCache.getDelegationToken(
          [javac]                                                      ^
          [javac] hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java:350: cannot find symbol
          [javac] symbol  : method getDelegationTokens(java.lang.String)
          [javac] location: class org.apache.hadoop.hdfs.HftpFileSystem
          [javac]       }}).when(hfs).getDelegationTokens(renewer);
          [javac]                    ^
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] 2 errors
      

        Activity

        Hide
        Daryn Sharp added a comment -

        I have been advised to remove the test since all of them are slated for removal due to mavenization.

        Show
        Daryn Sharp added a comment - I have been advised to remove the test since all of them are slated for removal due to mavenization.
        Hide
        Robert Joseph Evans added a comment -

        That seems fine to me because MAPREDUCE-4266 is to remove all of it anyways. +1

        Show
        Robert Joseph Evans added a comment - That seems fine to me because MAPREDUCE-4266 is to remove all of it anyways. +1
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12542784/MAPREDUCE-4600.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 1 new or modified test files.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2786//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2786//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12542784/MAPREDUCE-4600.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 1 new or modified test files. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2786//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2786//console This message is automatically generated.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2715 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2715/)
        MAPREDUCE-4600. TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2715 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2715/ ) MAPREDUCE-4600 . TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2652 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2652/)
        MAPREDUCE-4600. TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2652 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2652/ ) MAPREDUCE-4600 . TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Robert Joseph Evans added a comment -

        Thanks Daryn,

        I put this into trunk, branch-2, branch-2.1.0-alpha, and branch-0.23

        Show
        Robert Joseph Evans added a comment - Thanks Daryn, I put this into trunk, branch-2, branch-2.1.0-alpha, and branch-0.23
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2681 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2681/)
        MAPREDUCE-4600. TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255)

        Result = FAILURE
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2681 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2681/ ) MAPREDUCE-4600 . TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255) Result = FAILURE bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1149 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1149/)
        MAPREDUCE-4600. TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255)

        Result = FAILURE
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1149 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1149/ ) MAPREDUCE-4600 . TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255) Result = FAILURE bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1180 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1180/)
        MAPREDUCE-4600. TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1180 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1180/ ) MAPREDUCE-4600 . TestTokenCache.java from MRV1 no longer compiles (daryn via bobby) (Revision 1378255) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1378255 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java

          People

          • Assignee:
            Daryn Sharp
            Reporter:
            Robert Joseph Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development