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

Compiler warnings in TestClusterMapReduceTestCase and TestJobStatusPersistency

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.16.1
    • Component/s: test
    • Labels:
      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. 2802_20080211.patch
          4 kB
          Tsz-wo Sze
        2. HADOOP-2733.patch
          4 kB
          Amar Kamat

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              shv Konstantin Shvachko

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment