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.