hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayank Bansal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1257) Avro apps are failing with hadoop2
Date Mon, 30 Sep 2013 23:26:24 GMT
Mayank Bansal created YARN-1257:
-----------------------------------

             Summary: 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
             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