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

Generic mapreduce classes cannot be used with Job::set* methods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The set* methods on a Job take Class instances whose parameterized type is an unbounded type (e.g. Class<? extends RawComparator<?>>). Attempting to pass a Class whose parameterized types are not explicit will cause compile-time errors, as in HADOOP-5065.

        Attachments

        1. 5111-0.patch
          3 kB
          Chris Douglas

          Activity

            People

            • Assignee:
              chris.douglas Chris Douglas
              Reporter:
              chris.douglas Chris Douglas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: