[ https://issues.apache.org/jira/browse/TEZ-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Shah updated TEZ-1148: ----------------------------- Status: Open (was: Patch Available) > Exception thrown when old MapRunnable implementation is specified for a > MapProcessor vertex > ------------------------------------------------------------------------------------------- > > Key: TEZ-1148 > URL: https://issues.apache.org/jira/browse/TEZ-1148 > Project: Apache Tez > Issue Type: Bug > Affects Versions: 0.4.0, 0.5.0 > Reporter: Mariappan Asokan > Assignee: Mariappan Asokan > Attachments: tez-1148.patch > > > When a MapProcessor vertex was configured with an implementation of > MapRunnable, following exception was thrown: > {code} > 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) > .... > {code} > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)