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

Rohini Palaniswamy commented on OOZIE-1551:
-------------------------------------------

Issue is either avro jar is missing from classpath or correct version of avro 
jar is not in classpath.

Found this in AM logs:
2013-10-22 11:34:44,917 FATAL [main] 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error starting MRAppMaster
java.lang.NoSuchMethodError: 
org.apache.avro.Schema.access$1500()Ljava/lang/ThreadLocal;
        at org.apache.avro.Schema$Parser.parse(Schema.java:978)
        at org.apache.avro.Schema$Parser.parse(Schema.java:971)
        at 
org.apache.hadoop.mapreduce.jobhistory.AMStarted.<clinit>(AMStarted.java:10)
        at 
org.apache.hadoop.mapreduce.jobhistory.AMStartedEvent.<init>(AMStartedEvent.java:36)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStart(MRAppMaster.java:1018)
        at 
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster$1.run(MRAppMaster.java:1445)
        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:1491)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1441)
        at 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1374)

To debug hadoop 2 issues, set the following 2 properties in XTestCase in 
setUpEmbeddedHadoop() conf object.

conf.set("yarn.nodemanager.delete.debug-delay-sec", "3600");
 conf.set("yarn.app.mapreduce.am.log.level", "DEBUG");

> Change hadoop-2 profile to use 2.2.0
> ------------------------------------
>
>                 Key: OOZIE-1551
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1551
>             Project: Oozie
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: trunk, 4.0.1
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Blocker
>         Attachments: OOZIE-1551.patch, OOZIE-1551.patch
>
>
> We should change the hadoop-2 profile to use 2.2.0 (GA) instead of 
> 2.2.0-SNAPSHOT now that its been released.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to