Compiler warnings in TestClusterMapReduceTestCase and TestJobStatusPersistency
------------------------------------------------------------------------------
Key: HADOOP-2733
URL: https://issues.apache.org/jira/browse/HADOOP-2733
Project: Hadoop Core
Issue Type: Bug
Affects Versions: 0.16.0
Reporter: Konstantin Shvachko
Fix For: 0.16.1
The following four warnings were introduced by HADOOP-1876.
{code}
[javac]
hadoop/src/test/org/apache/hadoop/mapred/TestClusterMapReduceTestCase.java:26:
warning: [unchecked] unchecked call to collect(K,V) as a member of the raw type
org.apache.hadoop.mapred.OutputCollector
[javac] collector.collect(key, value);
[javac] ^
[javac]
hadoop/src/test/org/apache/hadoop/mapred/TestClusterMapReduceTestCase.java:42:
warning: [unchecked] unchecked call to collect(K,V) as a member of the raw type
org.apache.hadoop.mapred.OutputCollector
[javac] collector.collect(key, value);
[javac] ^
[javac]
hadoop/src/test/org/apache/hadoop/mapred/TestJobStatusPersistency.java:26:
warning: [unchecked] unchecked call to collect(K,V) as a member of the raw type
org.apache.hadoop.mapred.OutputCollector
[javac] collector.collect(key, value);
[javac] ^
[javac]
hadoop/src/test/org/apache/hadoop/mapred/TestJobStatusPersistency.java:42:
warning: [unchecked] unchecked call to collect(K,V) as a member of the raw type
org.apache.hadoop.mapred.OutputCollector
[javac] collector.collect(key, value);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 4 warnings
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.