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

John George commented on MAPREDUCE-3696:
----------------------------------------

 
Hadoop 23 installation on a <secure> cluster and on submitting an MR job via 
Oozie, we see the
following error in the NM container logs

FATAL [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error starting 
MRAppMaster
java.lang.NoSuchMethodError:
org.codehaus.jackson.JsonFactory.enable(Lorg/codehaus/jackson/JsonParser$Feature;)Lorg/codehaus/jackson/JsonFactory;
        at org.apache.avro.Schema.<clinit>(Schema.java:82)
        at 
org.apache.hadoop.mapreduce.jobhistory.AMStarted.<clinit>(AMStarted.java:9)
        at 
org.apache.hadoop.mapreduce.jobhistory.AMStartedEvent.<init>(AMStartedEvent.java:36)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.start(MRAppMaster.java:783)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster$1.run(MRAppMaster.java:960)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:956)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:943)


JsonFactory.class is packaged in jackson-core-asl.jar, and versions 1.2 and 
above contain the aforementioned enable()
method. We are packaging Oozie with jar version jackson-core-asl-1.7.1.jar and 
jackson-mapper-asl-1.7.1.jar. Is there
some linking taking place to a stale version 1.0.1 of the jackson jar?

An older JIRA HADOOP-7606, mentions explicit maven dependency for this version 
in the pom.xml. I tried including a
similar dependency explicitly for Oozie's POM while building, but no difference.

                
> MR job via oozie does not work on hadoop 23
> -------------------------------------------
>
>                 Key: MAPREDUCE-3696
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3696
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.1
>            Reporter: John George
>            Assignee: John George
>            Priority: Critical
>
> NM throws an error on submitting an MR job via oozie on the latest Hadoop 23.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to