hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2733) Compiler warnings in TestClusterMapReduceTestCase and TestJobStatusPersistency
Date Mon, 11 Feb 2008 09:12:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567553#action_12567553
] 

Amar Kamat commented on HADOOP-2733:
------------------------------------

Chris, could you plz post your patch here. Yes it makes sense to remove them and have one
modified EchoMap/Reduce, +1. I think the while loop has nothing to do with this is more readable.
So I would prefer it as it is.

> Compiler warnings in TestClusterMapReduceTestCase and TestJobStatusPersistency
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-2733
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2733
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.16.0
>            Reporter: Konstantin Shvachko
>            Assignee: Amar Kamat
>             Fix For: 0.16.1
>
>         Attachments: HADOOP-2733.patch
>
>
> 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.


Mime
View raw message