You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2008/03/17 13:51:24 UTC

[jira] Updated: (HADOOP-3031) Remove compiler warnings for ant test

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

Amareshwari Sriramadasu updated HADOOP-3031:
--------------------------------------------

    Attachment: patch-3031-warning1.txt

The first warning is due to HADOOP-2822.
The second warning is due to HADOOP-2399.
I could not remove second warning. but attaching a patch which removes first warning. 
I think Hudson needs to add src/test directory for checking javac errors.

> Remove compiler warnings for ant test
> -------------------------------------
>
>                 Key: HADOOP-3031
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3031
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amareshwari Sriramadasu
>            Priority: Minor
>             Fix For: 0.17.0
>
>         Attachments: patch-3031-warning1.txt
>
>
> The following warnings need to be removed from ant tests 
> src/test/org/apache/hadoop/mapred/EmptyInputFormat.java:35: warning: [unchecked] unchecked conversion
>     [javac] found   : org.apache.hadoop.mapred.SequenceFileRecordReader
>     [javac] required: org.apache.hadoop.mapred.RecordReader<K,V>
>     [javac]     return new SequenceFileRecordReader(job, (FileSplit) split);
> src/test/org/apache/hadoop/mapred/TestReduceTask.java:91: warning: [unchecked] unchecked call to ValuesIterator(org.apache.hadoop.io.SequenceFile.Sorter.RawKeyValueIterator,org.apache.hadoop.io.RawComparator<KEY>,java.lang.Class<KEY>,java.lang.Class<VALUE>,org.apache.hadoop.conf.Configuration,org.apache.hadoop.util.Progressable) as a member of the raw type org.apache.hadoop.mapred.ReduceTask.ValuesIterator
>     [javac]       new ReduceTask.ValuesIterator(rawItr, WritableComparator.get(Text.class),

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.