unchecked cast warnings in trunk
--------------------------------
Key: MAPREDUCE-1405
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1405
Project: Hadoop Map/Reduce
Issue Type: Bug
Reporter: Chris Douglas
Priority: Trivial
{noformat}
compile-mapred-classes:
[jsp-compile] 10/01/24 15:16:55 WARN compiler.TldLocationsCache: Internal
Error: File /WEB-INF/web.xml not found
[javac] Compiling 494 source files to /.../mapred/build/classes
[javac] /.../mapred/src/java/org/apache/hadoop/mapred/Child.java:159:
warning: [unchecked] unchecked cast
[javac] found : org.apache.hadoop.security.token.Token<capture#981 of ?
extends org.apache.hadoop.security.token.TokenIdentifier>
[javac] required:
org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>
[javac] Token<JobTokenIdentifier> jt =
(Token<JobTokenIdentifier>)ts.getJobToken();
[javac]
^
[javac] /.../mapred/src/java/org/apache/hadoop/mapred/TaskTracker.java:922:
warning: [unchecked] unchecked cast
[javac] found : org.apache.hadoop.security.token.Token<capture#810 of ?
extends org.apache.hadoop.security.token.TokenIdentifier>
[javac] required:
org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>
[javac] Token<JobTokenIdentifier> jt =
(Token<JobTokenIdentifier>)ts.getJobToken();
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.