hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1257) Avro apps are failing with hadoop2
Date Tue, 01 Oct 2013 01:20:24 GMT

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

Arun C Murthy commented on YARN-1257:
-------------------------------------

[~mayank_bansal]: seems like this is using o.a.h.mapreduce.* apis? If so, you'll have to recompile
against hadoop-2...

> Avro apps are failing with hadoop2
> ----------------------------------
>
>                 Key: YARN-1257
>                 URL: https://issues.apache.org/jira/browse/YARN-1257
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.1-beta
>            Reporter: Mayank Bansal
>            Priority: Blocker
>             Fix For: 2.1.2-beta
>
>
> hi,
> MR Apps which are using avro is not running.
> These apps are compile with the hadoop1 jars.
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext,
but class was expected
>         at org.apache.avro.mapreduce.AvroMultipleOutputs.getNamedOutputsList(AvroMultipleOutputs.java:208)
>         at org.apache.avro.mapreduce.AvroMultipleOutputs.checkNamedOutputName(AvroMultipleOutputs.java:195)
>         at org.apache.avro.mapreduce.AvroMultipleOutputs.addNamedOutput(AvroMultipleOutputs.java:259)
>         at com.ebay.sojourner.HadoopJob.addAvroMultipleOutput(HadoopJob.java:157)
>         at com.ebay.sojourner.intraday.IntradayJob.initJob(IntradayJob.java:113)
>         at com.ebay.sojourner.HadoopJob.run(HadoopJob.java:76)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at com.ebay.sojourner.intraday.IntradayJob.main(IntradayJob.java:165)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
>         at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
>         at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:152)
>         at com.ebay.sojourner.JobDriver.main(JobDriver.java:52)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
>  



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

Mime
View raw message