[ 
https://issues.apache.org/jira/browse/OOZIE-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209815#comment-14209815
 ] 

Alex Corvino commented on OOZIE-1723:
-------------------------------------

In case anyone is wondering, the only way I've been able to work around this is 
to re-write my MapReduce code using the old API. There were some concerns about 
fair scheduling but so far it looks like the work is going into the fair queues.

> Setting 'use.new.api=true' gives compatibility error even with using new 
> 'mapreduce.*' hadoop api
> -------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1723
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1723
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk, 4.0.0
>            Reporter: Mona Chitnis
>              Labels: api
>             Fix For: trunk
>
>
> Error encountered - JA009: mapred.mapper.class is incompatible with new map 
> API mode.
> complete stack trace:
> {code}
> org.apache.oozie.action.ActionExecutorException: JA009: mapred.mapper.class 
> is incompatible with new map API mode.
>       at 
> org.apache.oozie.action.ActionExecutor.convertExceptionHelper(ActionExecutor.java:412)
>       at 
> org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:396)
>       at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:871)
>       at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1025)
>       at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:217)
>       at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:62)
>       at org.apache.oozie.command.XCommand.call(XCommand.java:280)
>       at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:326)
>       at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:255)
>       at 
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:722)
> Caused by: java.io.IOException: mapred.mapper.class is incompatible with new 
> map API mode.
>       at org.apache.hadoop.mapreduce.Job.ensureNotSet(Job.java:1122)
>       at org.apache.hadoop.mapreduce.Job.setUseNewAPI(Job.java:1149)
>       at org.apache.hadoop.mapreduce.Job.submit(Job.java:1211)
>       at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:573)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to