Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # general >> mapred in .22 got broken all of a sudden


Copy link to this message
-
Re: mapred in .22 got broken all of a sudden
Yes, indeed avro has been uprevved: See
https://issues.apache.org/jira/browse/HADOOP-7646 and associates.

I think the first build error you see is due to Ivy partially resolving to
the previously generated code.
That's the same as build 75 of MR on 22.
ant veryclean or manual purge of ~/.ivy2 should clear that up.

Now we just have a problem on clover instrumented code. I suspect that again
we have some older versions lingering around, although I do not have access
to Jenkins to reproduce this at the moment.
My guess is that once a clean new SNAPSHOT is published this will be cleard
up. I'm working on setting up my new environment to confirm (that will take
a few days).

Cheers,

Joep

________________________________________
From: [EMAIL PROTECTED] [[EMAIL PROTECTED]] On Behalf Of Roman
Shaposhnik [[EMAIL PROTECTED]]
Sent: Tuesday, September 27, 2011 12:08 PM
To: [EMAIL PROTECTED]
Subject: mapred in .22 got broken all of a sudden

https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Mapreduce-22-branch/75/console

Anybody knows what's going on? Avro update?

avro-generate:
    [mkdir] Created dir:
/home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-22-branch/trunk/build/src/org/apache/hadoop/mapreduce/jobhistory
compile-mapred-classes:
[jsp-compile] 11/09/27 19:06:21 WARN compiler.TldLocationsCache:
Internal Error: File /WEB-INF/web.xml not found
    [javac] Compiling 524 source files to
/home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-22-branch/trunk/build/classes
    [javac]
/home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-22-branch/trunk/src/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java:57:
cannot find symbol
    [javac] symbol  : constructor
JsonEncoder(org.apache.avro.Schema,org.apache.hadoop.fs.FSDataOutputStream)
    [javac] location: class org.apache.avro.io.JsonEncoder
    [javac]     this.encoder = new JsonEncoder(Event.SCHEMA$, out);
    [javac]                    ^
    [javac]
/home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-22-branch/trunk/src/java/org/apache/hadoop/mapreduce/jobhistory/EventReader.java:77:
cannot find symbol
    [javac] symbol  : constructor
JsonDecoder(org.apache.avro.Schema,java.io.DataInputStream)
    [javac] location: class org.apache.avro.io.JsonDecoder
    [javac]     this.decoder = new JsonDecoder(schema, in);
    [javac]                    ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors