Mona Chitnis created OOZIE-1723:
-----------------------------------

             Summary: 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
            Reporter: Mona Chitnis


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.1.5#6160)

Reply via email to