beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] beam git commit: Upgrade Avro dependency to version 1.8.2
Date Mon, 29 May 2017 16:34:20 GMT
Repository: beam
Updated Branches:
  refs/heads/master 27dd7a9e4 -> 2cb4b03de


Upgrade Avro dependency to version 1.8.2


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/320756df
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/320756df
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/320756df

Branch: refs/heads/master
Commit: 320756df97fbdab2fda732cfe66831025d502af8
Parents: 27dd7a9
Author: Ismaël Mejía <iemejia@apache.org>
Authored: Sat May 27 21:21:37 2017 +0200
Committer: Ismaël Mejía <iemejia@apache.org>
Committed: Mon May 29 00:37:12 2017 +0200

----------------------------------------------------------------------
 pom.xml                                                          | 2 +-
 .../src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/320756df/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 398cda0..3e302e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,7 +105,7 @@
     <apache.commons.compress.version>1.9</apache.commons.compress.version>
     <apex.kryo.version>2.24.0</apex.kryo.version>
     <api-common.version>1.0.0-rc2</api-common.version>
-    <avro.version>1.8.1</avro.version>
+    <avro.version>1.8.2</avro.version>
     <bigquery.version>v2-rev295-1.22.0</bigquery.version>
     <bigtable.version>0.9.6.2</bigtable.version>
     <cloudresourcemanager.version>v1-rev6-1.22.0</cloudresourcemanager.version>

http://git-wip-us.apache.org/repos/asf/beam/blob/320756df/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java b/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java
index 8942a9e..60b3232 100644
--- a/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java
+++ b/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java
@@ -44,7 +44,7 @@ import java.util.SortedMap;
 import java.util.SortedSet;
 import java.util.TreeMap;
 import java.util.TreeSet;
-import org.apache.avro.AvroTypeException;
+import org.apache.avro.AvroRuntimeException;
 import org.apache.avro.Schema;
 import org.apache.avro.SchemaBuilder;
 import org.apache.avro.generic.GenericData;
@@ -502,7 +502,7 @@ public class AvroCoderTest {
     try {
       ReflectData.get().getSchema(SubclassHidingParent.class);
       fail("Expected AvroTypeException");
-    } catch (AvroTypeException e) {
+    } catch (AvroRuntimeException e) {
       assertThat(e.getMessage(), containsString("mapField"));
       assertThat(e.getMessage(), containsString("two fields named"));
     }


Mime
View raw message