Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4600

TestTokenCache.java from MRV1 no longer compiles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.3, 2.0.0-alpha, 2.0.2-alpha, 3.0.0-alpha1
    • 0.23.3, 2.0.2-alpha
    • None
    • 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
      

      Attachments

        1. MAPREDUCE-4600.patch
          17 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            revans2 Robert Joseph Evans
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: