hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2733) Compiler warnings in TestClusterMapReduceTestCase and TestJobStatusPersistency
Date Mon, 11 Feb 2008 16:12:26 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HADOOP-2733:
-------------------------------------------

    Attachment: 2802_20080211.patch

Since I had worked on HADOOP-2802 (a duplicated issue), I came up a patch using Chris' idea.

> 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: 2802_20080211.patch, 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