Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2733

Compiler warnings in TestClusterMapReduceTestCase and TestJobStatusPersistency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.1
    • test
    • None

    Description

      The following four warnings were introduced by HADOOP-1876.

          [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
      

      Attachments

        1. HADOOP-2733.patch
          4 kB
          Amar Kamat
        2. 2802_20080211.patch
          4 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: