hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1160456 - in /hadoop/common/trunk/hadoop-mapreduce: ./ hadoop-mr-client/hadoop-mapreduce-client-core/ hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/ hadoop-mr-client/hadoop-mapreduce-cli...
Date Mon, 22 Aug 2011 21:44:46 GMT
Author: mahadev
Date: Mon Aug 22 21:44:46 2011
New Revision: 1160456

URL: http://svn.apache.org/viewvc?rev=1160456&view=rev
Log:
MAPREDUCE-2868. ant build broken in hadoop-mapreduce dir (mahadev, giri and arun via mahadev)

Modified:
    hadoop/common/trunk/hadoop-mapreduce/CHANGES.txt
    hadoop/common/trunk/hadoop-mapreduce/build.xml
    hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/pom.xml
    hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventReader.java
    hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
    hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/v2/TestMRJobsWithHistoryService.java
    hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/AvroYarnRPC.java
    hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/pom.xml
    hadoop/common/trunk/hadoop-mapreduce/ivy.xml
    hadoop/common/trunk/hadoop-mapreduce/ivy/libraries.properties
    hadoop/common/trunk/hadoop-mapreduce/pom.xml

Modified: hadoop/common/trunk/hadoop-mapreduce/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/CHANGES.txt?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-mapreduce/CHANGES.txt Mon Aug 22 21:44:46 2011
@@ -1125,6 +1125,8 @@ Trunk (unreleased changes)
     MAPREDUCE-2867. Remove Unused TestApplicaitonCleanup in resourcemanager/applicationsmanager.
     (mahadev)
 
+    MAPREDUCE-2868. ant build broken in hadoop-mapreduce dir (mahadev, giri and arun via
mahadev)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-mapreduce/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/build.xml?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/build.xml (original)
+++ hadoop/common/trunk/hadoop-mapreduce/build.xml Mon Aug 22 21:44:46 2011
@@ -371,7 +371,7 @@
 
   <target name="avro-generate" depends="init">
     <mkdir dir="${build.src}/org/apache/hadoop/mapreduce/jobhistory"/>
-    <taskdef name="protocol" classname="org.apache.avro.specific.ProtocolTask">
+    <taskdef name="protocol" classname="org.apache.avro.compiler.specific.ProtocolTask">
       <classpath refid="classpath" />
     </taskdef>
     <protocol destdir="${build.src}">

Modified: hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/pom.xml?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/pom.xml
(original)
+++ hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/pom.xml
Mon Aug 22 21:44:46 2011
@@ -31,7 +31,7 @@
       <plugin>
         <groupId>org.apache.avro</groupId>
         <artifactId>avro-maven-plugin</artifactId>
-        <version>1.5.1</version>
+        <version>1.5.2</version>
         <executions>
           <execution>
             <phase>generate-sources</phase>

Modified: hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventReader.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventReader.java?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventReader.java
(original)
+++ hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventReader.java
Mon Aug 22 21:44:46 2011
@@ -32,6 +32,7 @@ import org.apache.hadoop.mapreduce.Count
 
 import org.apache.avro.Schema;
 import org.apache.avro.io.Decoder;
+import org.apache.avro.io.DecoderFactory;
 import org.apache.avro.io.JsonDecoder;
 import org.apache.avro.io.DatumReader;
 import org.apache.avro.specific.SpecificDatumReader;
@@ -71,7 +72,7 @@ public class EventReader implements Clos
     
     this.schema = Schema.parse(in.readLine());
     this.reader = new SpecificDatumReader(schema);
-    this.decoder = new JsonDecoder(schema, in);
+    this.decoder = DecoderFactory.get().jsonDecoder(schema, in);
   }
   
   /**

Modified: hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
(original)
+++ hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
Mon Aug 22 21:44:46 2011
@@ -24,6 +24,7 @@ import java.util.ArrayList;
 import org.apache.avro.Schema;
 import org.apache.avro.io.DatumWriter;
 import org.apache.avro.io.Encoder;
+import org.apache.avro.io.EncoderFactory;
 import org.apache.avro.io.JsonEncoder;
 import org.apache.avro.specific.SpecificDatumWriter;
 import org.apache.avro.util.Utf8;
@@ -56,7 +57,7 @@ class EventWriter {
     out.writeBytes("\n");
     out.writeBytes(Event.SCHEMA$.toString());
     out.writeBytes("\n");
-    this.encoder = new JsonEncoder(Event.SCHEMA$, out);
+    this.encoder =  EncoderFactory.get().jsonEncoder(Event.SCHEMA$, out);
   }
   
   synchronized void write(HistoryEvent event) throws IOException { 

Modified: hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/v2/TestMRJobsWithHistoryService.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/v2/TestMRJobsWithHistoryService.java?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/v2/TestMRJobsWithHistoryService.java
(original)
+++ hadoop/common/trunk/hadoop-mapreduce/hadoop-mr-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/v2/TestMRJobsWithHistoryService.java
Mon Aug 22 21:44:46 2011
@@ -23,7 +23,7 @@ import java.io.IOException;
 
 import junit.framework.Assert;
 
-import org.apache.avro.ipc.AvroRemoteException;
+import org.apache.avro.AvroRemoteException;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.FailingMapper;

Modified: hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/AvroYarnRPC.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/AvroYarnRPC.java?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/AvroYarnRPC.java
(original)
+++ hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/AvroYarnRPC.java
Mon Aug 22 21:44:46 2011
@@ -24,8 +24,8 @@ import java.net.InetSocketAddress;
 import org.apache.avro.ipc.Server;
 import org.apache.avro.ipc.SocketServer;
 import org.apache.avro.ipc.SocketTransceiver;
-import org.apache.avro.specific.SpecificRequestor;
-import org.apache.avro.specific.SpecificResponder;
+import org.apache.avro.ipc.specific.SpecificRequestor;
+import org.apache.avro.ipc.specific.SpecificResponder;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.security.token.SecretManager;
 import org.apache.hadoop.security.token.TokenIdentifier;

Modified: hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/pom.xml?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/pom.xml (original)
+++ hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/pom.xml Mon Aug 22 21:44:46 2011
@@ -43,7 +43,7 @@
     <dependency>
       <groupId>org.apache.avro</groupId>
       <artifactId>avro</artifactId>
-      <version>1.4.1</version>
+      <version>1.5.2</version>
       <exclusions>
         <exclusion>
           <groupId>org.mortbay.jetty</groupId>

Modified: hadoop/common/trunk/hadoop-mapreduce/ivy.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/ivy.xml?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/ivy.xml (original)
+++ hadoop/common/trunk/hadoop-mapreduce/ivy.xml Mon Aug 22 21:44:46 2011
@@ -116,6 +116,12 @@
 
    <dependency org="org.apache.lucene" name="lucene-core" 
                rev="${lucene-core.version}" conf="javadoc->default"/>
+   <dependency org="org.apache.avro" name="avro-compiler" rev="${avro.version}" 
+               conf="compile->master">
+      <exclude module="ant"/>
+      <exclude module="jetty"/>
+      <exclude module="slf4j-simple"/>
+    </dependency>
    <dependency org="org.apache.avro" name="avro" rev="${avro.version}" 
                conf="compile->default">
       <exclude module="ant"/>

Modified: hadoop/common/trunk/hadoop-mapreduce/ivy/libraries.properties
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/ivy/libraries.properties?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/ivy/libraries.properties (original)
+++ hadoop/common/trunk/hadoop-mapreduce/ivy/libraries.properties Mon Aug 22 21:44:46 2011
@@ -20,8 +20,8 @@ ant-task.version=2.0.10
 #This property has to be updated synchronously with aop.xml
 aspectj.version=1.6.5
 
-avro.version=1.4.1
-
+avro.version=1.5.2
+paranamer.version=2.2
 checkstyle.version=4.2
 
 commons-cli.version=1.2

Modified: hadoop/common/trunk/hadoop-mapreduce/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce/pom.xml?rev=1160456&r1=1160455&r2=1160456&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce/pom.xml (original)
+++ hadoop/common/trunk/hadoop-mapreduce/pom.xml Mon Aug 22 21:44:46 2011
@@ -50,7 +50,7 @@
     <dependency>
       <groupId>org.apache.avro</groupId>
       <artifactId>avro</artifactId>
-      <version>1.4.1</version>
+      <version>1.5.2</version>
       <exclusions>
         <exclusion>
           <groupId>org.mortbay.jetty</groupId>



Mime
View raw message