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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development