hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4313) TestTokenCache doesn't compile due TokenCache.getDelegationToken compilation error
Date Tue, 05 Jun 2012 13:47:23 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289409#comment-13289409
] 

Daryn Sharp commented on MAPREDUCE-4313:
----------------------------------------

I'll dig into this.  I think it may be related to recent change to move the token renewer
into common because I seem to recall it changed method signatures.
                
> TestTokenCache doesn't compile due TokenCache.getDelegationToken compilation error
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4313
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4313
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build, test
>            Reporter: Eli Collins
>            Priority: Blocker
>
> Saw this on the trunk Jenkins job:
> {noformat}
> compile-mapred-test:
>     [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/hadoop-mapreduce-project/build/test/mapred/classes
>     [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/hadoop-mapreduce-project/build/test/mapred/testjar
>     [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/hadoop-mapreduce-project/build/test/mapred/testshell
>     [javac] Compiling 95 source files to /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/hadoop-mapreduce-project/build/test/mapred/classes
>     [javac] /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java:292:
incompatible types
>     [javac] found   : org.apache.hadoop.security.token.Token<capture#315 of ?>
>     [javac] required: org.apache.hadoop.security.token.Token<org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier>
>     [javac]     Token<DelegationTokenIdentifier> nnt = TokenCache.getDelegationToken(
>     [javac]                                                                         ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 error
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message