Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1148

Exception thrown when old MapRunnable implementation is specified for a MapProcessor vertex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.4.0, 0.5.0
    • None
    • None
    • None

    Description

      When a MapProcessor vertex was configured with an implementation of MapRunnable, following exception was thrown:

      Exception in thread "main" java.io.IOException: mapreduce.job.inputformat.class is incompatible with map compatability mode.
              at org.apache.tez.mapreduce.hadoop.MRHelpers.ensureNotSet(MRHelpers.java:629)
              at org.apache.tez.mapreduce.hadoop.MRHelpers.setUseNewAPI(MRHelpers.java:603)
      ....
      

      The problem seems to be in MRHelpers.setUseNewAPI(). The check for the existence of a MapRunnable implementation is missing which leads to an incorrect conclusion that new APIs are used. This problem exists in the trunk version as well.

      Attachments

        1. tez-1148.patch
          0.9 kB
          Mariappan Asokan

        Activity

          People

            masokan Mariappan Asokan
            masokan Mariappan Asokan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: