Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3448

TestCombineOutputCollector javac unchecked warning on mocked generics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.1, 2.0.0-alpha
    • 0.23.1
    • mrv2
    • None
    • Reviewed

    Description

      [javac] found : org.apache.hadoop.mapred.IFile.Writer
      [javac] required: org.apache.hadoop.mapred.IFile.Writer<java.lang.String,java.lang.Integer>
      [javac] Writer<String, Integer> mockWriter = mock(Writer.class);
      [javac] ^
      [javac] /home/jeagles/hadoop/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestCombineOutputCollector.java:125: warning: [unchecked] unchecked conversion
      [javac] found : org.apache.hadoop.mapred.IFile.Writer
      [javac] required: org.apache.hadoop.mapred.IFile.Writer<java.lang.String,java.lang.Integer>
      [javac] Writer<String, Integer> mockWriter = mock(Writer.class);
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 2 warnings

      Attachments

        1. MAPREDUCE-3448.patch
          1 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: