[
https://issues.apache.org/jira/browse/MAPREDUCE-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Joseph Evans resolved MAPREDUCE-4313.
--------------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
2.0.1-alpha
I checked the small fix into branch-2, and trunk. These are the two places
that the other change went in that broke this.
> 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
> Assignee: Robert Joseph Evans
> Priority: Blocker
> Fix For: 2.0.1-alpha, 3.0.0
>
>
> 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