FAQ
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


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.

Search Discussions

  • Amareshwari Sriramadasu (JIRA) at Mar 17, 2008 at 12:53 pm
    [ 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.
  • Robert Chansler (JIRA) at Mar 25, 2008 at 3:07 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Robert Chansler updated HADOOP-3031:
    ------------------------------------

    Fix Version/s: (was: 0.17.0)
    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
    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.
  • Konstantin Shvachko (JIRA) at Apr 30, 2008 at 12:22 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Konstantin Shvachko updated HADOOP-3031:
    ----------------------------------------

    Fix Version/s: 0.18.0
    Assignee: Amareshwari Sriramadasu
    Affects Version/s: 0.17.0
    Hadoop Flags: [Reviewed]
    Status: Patch Available (was: Open)

    +1
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.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.
  • Hadoop QA (JIRA) at Apr 30, 2008 at 3:32 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593215#action_12593215 ]

    Hadoop QA commented on HADOOP-3031:
    -----------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12378031/patch-3031-warning1.txt
    against trunk revision 645773.

    @author +1. The patch does not contain any @author tags.

    tests included +1. The patch appears to include 3 new or modified tests.

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new javac compiler warnings.

    release audit +1. The applied patch does not generate any new release audit warnings.

    findbugs +1. The patch does not introduce any new Findbugs warnings.

    core tests -1. The patch failed core unit tests.

    contrib tests +1. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2347/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2347/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2347/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2347/console

    This message is automatically generated.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.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.
  • Amareshwari Sriramadasu (JIRA) at Apr 30, 2008 at 4:32 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Open (was: Patch Available)

    Test failure is not related to the patch. trying to run the tests again.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.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.
  • Amareshwari Sriramadasu (JIRA) at Apr 30, 2008 at 4:32 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available (was: Open)
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.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.
  • Hadoop QA (JIRA) at Apr 30, 2008 at 5:50 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593235#action_12593235 ]

    Hadoop QA commented on HADOOP-3031:
    -----------------------------------

    +1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12378031/patch-3031-warning1.txt
    against trunk revision 645773.

    @author +1. The patch does not contain any @author tags.

    tests included +1. The patch appears to include 3 new or modified tests.

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new javac compiler warnings.

    release audit +1. The applied patch does not generate any new release audit warnings.

    findbugs +1. The patch does not introduce any new Findbugs warnings.

    core tests +1. The patch passed core unit tests.

    contrib tests +1. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2348/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2348/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2348/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2348/console

    This message is automatically generated.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.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.
  • Chris Douglas (JIRA) at Apr 30, 2008 at 7:25 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Chris Douglas updated HADOOP-3031:
    ----------------------------------

    Attachment: 3031-1.patch

    +1 for hudson checking for javac warnings as part of the compile-core-test target

    We should fix both warnings in this patch. We can strip EmptyInputFormat of even more information, rather than refining it to fit with SequenceFile's constraints, which seems to match the spirit of the test. It's not possible to fix the last warning in TestReduceTask, because WritableComparators are not generic types (i.e. WritableComparator.get(Class\<T\> c) does not return a WritableComparator\<T\> that can satisfy the RawComparator\<KEY\> formal in the ValuesIterator cstr), so we can only suppress the warning.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Chris Douglas (JIRA) at Apr 30, 2008 at 7:27 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Chris Douglas updated HADOOP-3031:
    ----------------------------------

    Hadoop Flags: (was: [Reviewed])
    Status: Patch Available (was: Open)
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Chris Douglas (JIRA) at Apr 30, 2008 at 7:27 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593416#action_12593416 ]

    chris.douglas edited comment on HADOOP-3031 at 4/30/08 12:23 PM:
    -----------------------------------------------------------------

    +1 for hudson checking for javac warnings as part of the compile-core-test target

    We should fix both warnings in this patch. We can strip EmptyInputFormat of even more information, rather than refining it to fit with SequenceFile's constraints, which seems to match the spirit of the test. It's not possible to fix the last warning in TestReduceTask, because WritableComparators are not generic types (i.e. WritableComparator.get(Class<T> c) does not return a WritableComparator<T> that can satisfy the RawComparator<KEY> formal in the ValuesIterator cstr), so we can only suppress the warning.

    [ edit \- formatting ]

    was (Author: chris.douglas):
    +1 for hudson checking for javac warnings as part of the compile-core-test target

    We should fix both warnings in this patch. We can strip EmptyInputFormat of even more information, rather than refining it to fit with SequenceFile's constraints, which seems to match the spirit of the test. It's not possible to fix the last warning in TestReduceTask, because WritableComparators are not generic types (i.e. WritableComparator.get(Class\<T\> c) does not return a WritableComparator\<T\> that can satisfy the RawComparator\<KEY\> formal in the ValuesIterator cstr), so we can only suppress the warning.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Chris Douglas (JIRA) at Apr 30, 2008 at 7:27 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Chris Douglas updated HADOOP-3031:
    ----------------------------------

    Status: Open (was: Patch Available)
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Hadoop QA (JIRA) at Apr 30, 2008 at 9:02 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593437#action_12593437 ]

    Hadoop QA commented on HADOOP-3031:
    -----------------------------------

    +1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12381212/3031-1.patch
    against trunk revision 645773.

    @author +1. The patch does not contain any @author tags.

    tests included +1. The patch appears to include 6 new or modified tests.

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new javac compiler warnings.

    release audit +1. The applied patch does not generate any new release audit warnings.

    findbugs +1. The patch does not introduce any new Findbugs warnings.

    core tests +1. The patch passed core unit tests.

    contrib tests +1. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2354/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2354/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2354/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2354/console

    This message is automatically generated.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Chris Douglas (JIRA) at Apr 30, 2008 at 10:42 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593452#action_12593452 ]

    Chris Douglas commented on HADOOP-3031:
    ---------------------------------------

    Created a JIRA for javac warnings in test code: HADOOP-3330
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Amareshwari Sriramadasu
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Amareshwari Sriramadasu (JIRA) at May 5, 2008 at 4:57 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Amareshwari Sriramadasu reassigned HADOOP-3031:
    -----------------------------------------------

    Assignee: Chris Douglas (was: Amareshwari Sriramadasu)
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Chris Douglas
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Amareshwari Sriramadasu (JIRA) at May 5, 2008 at 4:57 am
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594139#action_12594139 ]

    Amareshwari Sriramadasu commented on HADOOP-3031:
    -------------------------------------------------

    +1 patch looks good.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Chris Douglas
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Chris Douglas (JIRA) at May 5, 2008 at 6:06 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Chris Douglas updated HADOOP-3031:
    ----------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]
    Status: Resolved (was: Patch Available)

    I just committed this.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Chris Douglas
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Hudson (JIRA) at May 7, 2008 at 12:23 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594874#action_12594874 ]

    Hudson commented on HADOOP-3031:
    --------------------------------

    Integrated in Hadoop-trunk #483 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/483/])
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Chris Douglas
    Priority: Minor
    Fix For: 0.18.0

    Attachments: 3031-1.patch, 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.
  • Chris Douglas (JIRA) at May 12, 2008 at 6:35 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Chris Douglas updated HADOOP-3031:
    ----------------------------------

    Fix Version/s: (was: 0.18.0)
    0.17.0

    I committed this to 0.17 as well.
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Chris Douglas
    Priority: Minor
    Fix For: 0.17.0

    Attachments: 3031-1.patch, 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.
  • Hudson (JIRA) at May 13, 2008 at 12:55 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596383#action_12596383 ]

    Hudson commented on HADOOP-3031:
    --------------------------------

    Integrated in Hadoop-trunk #489 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/489/])
    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
    Affects Versions: 0.17.0
    Reporter: Amareshwari Sriramadasu
    Assignee: Chris Douglas
    Priority: Minor
    Fix For: 0.17.0

    Attachments: 3031-1.patch, 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 17, '08 at 10:33a
activeMay 13, '08 at 12:55p
posts20
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hudson (JIRA): 20 posts

People

Translate

site design / logo © 2022 Grokbase