avro.git
4 years agoAVRO-2122: Cannot validate schemas with recursive definitions branch-1.7 359/head
Bart [Wed, 3 Jan 2018 14:03:57 +0000 (15:03 +0100)] 
AVRO-2122: Cannot validate schemas with recursive definitions

Track which symbols have been visited to avoid StackOverflowErrors
when validating schemas with recursive definitions

Signed-off-by: Nandor Kollar <nkollar@apache.org>
(cherry picked from commit 7f9cbca12af13d4b8b5709edba2bae4d4a808102)

4 years agoAVRO-2109: Reset buffers in case of IOException
Gabor Szadovszky [Tue, 5 Dec 2017 18:37:11 +0000 (19:37 +0100)] 
AVRO-2109: Reset buffers in case of IOException

Closes #260

Signed-off-by: Zoltan Ivanfi <zi@cloudera.com>
Signed-off-by: sacharya <suraj@apache.org>
Signed-off-by: Nandor Kollar <nkollar@apache.org>
(cherry picked from commit 673261c8656124cc58bee65fe5e8c779350779ee)
(cherry picked from commit a731fab500606404ecfd755717b441109ccf7337)

4 years agoAVRO-1407: Java: Fix infinite loop on slow connect in NettyTransceiver. Contributed...
Doug Cutting [Wed, 26 Nov 2014 19:30:18 +0000 (19:30 +0000)] 
AVRO-1407: Java: Fix infinite loop on slow connect in NettyTransceiver.  Contributed by Gareth Davis.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1641894 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit fbaf3c399e2f34e57008d8625c76f0543a3cadf4)

4 years agoAVRO-1883: Java: Fix incompatible schema detection nested in unions. Contributed...
Ryan Blue [Sun, 4 Sep 2016 22:15:24 +0000 (15:15 -0700)] 
AVRO-1883: Java: Fix incompatible schema detection nested in unions. Contributed by Yibing Shi.

(cherry picked from commit 968550da18708c76fd04c13722d996461aa23cb7)

4 years agoAVRO-2102 Bump Version of sure-fire plugin
sacharya [Fri, 11 Aug 2017 23:47:41 +0000 (23:47 +0000)] 
AVRO-2102 Bump Version of sure-fire plugin

Signed-off-by: Sean Busbey <busbey@cloudera.com>
4 years agoRevert "Bump Version of sure-fire plugin"
Sean Busbey [Fri, 27 Oct 2017 14:08:49 +0000 (09:08 -0500)] 
Revert "Bump Version of sure-fire plugin"

This reverts commit 6b4d7e48835a652a56d0710fd086b73c383789de.

4 years agoBump Version of sure-fire plugin
root [Fri, 11 Aug 2017 23:47:41 +0000 (23:47 +0000)] 
Bump Version of sure-fire plugin

4 years agoAVRO-2038 fix extra characters in build.xml
rodcoelho [Wed, 31 May 2017 20:02:57 +0000 (15:02 -0500)] 
AVRO-2038 fix extra characters in build.xml

Strip the extra characters presented by VERSION.txt to build.xml in the doc creation.

This closes #228

Signed-off-by: sacharya <suraj@apache.org>
(cherry picked from commit ddfcabcee064d137fb0b9082e8c522ab900433c2)

4 years agoAVRO-1656. Fix 'How To Contribute' link. Contributed by Benjamin Clauss.
Ryan Blue [Tue, 31 Mar 2015 21:11:39 +0000 (21:11 +0000)] 
AVRO-1656. Fix 'How To Contribute' link. Contributed by Benjamin Clauss.

Closes #18.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1670482 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 5a52b4b8c9201102183ea643307ceae932e5b8f5)

4 years agoAVRO-1719: C++: Fix tests with Boost >= 1.59.
Romain Geissler [Mon, 31 Aug 2015 20:27:17 +0000 (22:27 +0200)] 
AVRO-1719: C++: Fix tests with Boost >= 1.59.

BOOST_CHECKPOINT and BOOST_MESSAGE have been deprecated for years,
BOOST_TEST_CHECKPOINT and BOOST_TEST_MESSAGE should be used instead.

(cherry picked from commit 749934f3cd13c413e293815e7f64848a688a6e60)

4 years agoAVRO-1574: Create list for schema symbols with specified size.
Kengo Seki [Fri, 18 Aug 2017 14:19:28 +0000 (09:19 -0500)] 
AVRO-1574: Create list for schema symbols with specified size.

Signed-off-by: Nandor Kollar <nkollar@cloudera.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 09c997e206615c4b23ab9ae2ab5f6a3d793e9afb)
(cherry picked from commit 2f6eb2f4ec2071bc03e52a3ba8ac1d6aeb954c88)

4 years agoAVRO-1931: Reader is now compatible if able to read all branches of union
Anders Sundelin [Thu, 2 Mar 2017 10:08:23 +0000 (11:08 +0100)] 
AVRO-1931: Reader is now compatible if able to read all branches of union

Closes #199

Signed-off-by: Sriharsha Chintalapani <sriharsha@apache.org>
Signed-off-by: Nandor Kollar <nkollar@cloudera.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 15651fc95e058d1b3cc165a70c367d1dc2bad8b7)
(cherry picked from commit 83cdd2bd70a4f5f16a52177fc46aa6dec412548c)

4 years agoAVRO-1929: Java: SchemaCompatibility fails to recognize string<->bytes promotion...
Doug Cutting [Thu, 6 Oct 2016 22:07:12 +0000 (15:07 -0700)] 
AVRO-1929: Java: SchemaCompatibility fails to recognize string<->bytes promotion.  Contributed by Anders Sundelin.

(cherry picked from commit 1b91c06e92c4b5dd8e3a3e936b36e54fb9c9e023)

4 years agoAVRO-1485: Specification says Record field type can be record name but implementation...
Nandor Kollar [Thu, 20 Jul 2017 14:07:58 +0000 (16:07 +0200)] 
AVRO-1485: Specification says Record field type can be record name but implementation allows any named type.

(cherry picked from commit 21b369895cc6826b862605796bc35704bd142841)
(cherry picked from commit ea472174c7c1281270d7b071a76ee308bc772189)

4 years agoAVRO-1729: Ruby: Add LICENSE and NOTICE to ruby gems.
Ryan Blue [Mon, 19 Oct 2015 21:23:33 +0000 (21:23 +0000)] 
AVRO-1729: Ruby: Add LICENSE and NOTICE to ruby gems.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1709480 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit bc19e3a12e033e60c4f5c6c1d7a20fc9f8182da6)

AVRO-1732: C++: Add LICENSE and NOTICE to binary distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1709482 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 5cb83db6a66a6d60aa01b41160a9c90ad4987736)

AVRO-1733: C#: Add LICENSE and NOTICE to binary distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1709484 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 3585c45902b99ae5cf5e3086d1dfc61389017d7f)

AVRO-1731: C: Add LICENSE and NOTICE to binary distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717805 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit df5c513f1e7a606b7333975b6d28784702f77077)

AVRO-1735: Perl: Add LICENSE and NOTICE to distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717807 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 96d2d35fa20a7ec14f699e0c899cc7e21ae3393b)

AVRO-1736: PHP: Add LICENSE and NOTICE to distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717812 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit ada69ac5e0be21c96cdc683ae5152b0a8216e14f)

AVRO-1730: Python: Add LICENSE and NOTICE to distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717813 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit e11c588ebe034d5f2a043598e600791e38e124bb)

AVRO-1730: Python3: Add LICENSE and NOTICE to distribution.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717814 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 2c6c570d3b66975cfac367334d8a6971801397e5)

AVRO-1722: Update root LICENSE.txt and NOTICE.txt.

This updates the POM to use the Maven RAT integration and updates the
LICENSE and NOTICE files for issues that update found.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717817 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit f49b2d31fd9a0249a64c049da800db6648792ee0)

AVRO-1722 ADDENDUM: Java: Fix tests broken by adding licenses.

The Java specific compiler tool's tests expect the file content to match
exactly. Adding license headers broke the tests. This fix reverts the
addition of a licenses and adds the test files to the RAT exclusion
list.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1717830 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit bf751dfaada53680f66bc200f3acb04a4d538fd1)

AVRO-1722 ADDENDUM: Add last license doc changes, rat helper.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1718650 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 80ba788ecdccaff5fbc011f6ad619bb62815dc04)

AVRO-1728: Java: Add LICENSE and NOTICE files to jars.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1720272 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit ee28a20bef542d693312a3fc39239eee33800879)

AVRO-1771. Add LICENSE and NOTICE to avro-doc artifact. Contributed by blue.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.8@1723293 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 059e6dff3b0f6ccec866f7061815766f43d7ce22)

AVRO-1622. Add missing license headers.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1644603 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 6501dd51fc3a910a4cdc3e5abc73f49ed47240bc)

AVRO-2023 Update LICENSE, NOTICE and build for js

Ignore .text files

Fix the LICENSE for JS

This closes #222

5 years agoAVRO-1772. Ruby: load error in rubygem when loading schema normalization. Contributed...
Thomas White [Wed, 6 Jan 2016 12:12:10 +0000 (12:12 +0000)] 
AVRO-1772. Ruby: load error in rubygem when loading schema normalization. Contributed by blue and martinkl.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.8@1723296 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 7a282100438736e70e0361b94891b5b59157d62f)

5 years agoAVRO-1775. Ruby: Use test-unit gem for running tests.
Martin Kleppmann [Thu, 21 Jan 2016 11:01:36 +0000 (11:01 +0000)] 
AVRO-1775. Ruby: Use test-unit gem for running tests.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.8@1725904 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 162aa95c11c935a43f2e2130ca3e28279b3ce6fa)

5 years agoAVRO-1782. Ruby: Fix unit test failures in new versions of Ruby.
Martin Kleppmann [Wed, 13 Jan 2016 20:32:45 +0000 (20:32 +0000)] 
AVRO-1782. Ruby: Fix unit test failures in new versions of Ruby.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.8@1724507 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit a7a547cb8a3b7bb16531ef956b81c663c197fe75)

5 years agoAVRO-1688. Ruby test_union(TestIO) is failing.
Thomas White [Mon, 13 Jul 2015 16:19:22 +0000 (16:19 +0000)] 
AVRO-1688. Ruby test_union(TestIO) is failing.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1690745 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 74b444929bfdbdd0bcdf45a80dec7b507f805428)

5 years agoAVRO-2012 Make JS build on branch 1.7
Suraj [Sun, 26 Mar 2017 15:32:53 +0000 (15:32 +0000)] 
AVRO-2012 Make JS build on branch 1.7

Signed-off-by: Thiruvalluvan M G <thiru@startsmartlabs.com>
Signed-off-by: sacharya <suraj@apache.org>
5 years agoAVRO-1813: Incorrect link to build instructions in Java Getting Started
Pietro F. Menna [Fri, 10 Feb 2017 11:22:12 +0000 (12:22 +0100)] 
AVRO-1813: Incorrect link to build instructions in Java Getting Started

Closes #161

Signed-off-by: Gabor Szadovszky <gabor@apache.org>
(cherry picked from commit 29129abeecd58d387fd8f8986fba052a4868fc7c)

5 years agoAVRO-1642: Java: Do not generate invalid all-args constructor. Contributed by Prateek... 16/head
Al B [Mon, 30 Jan 2017 21:56:53 +0000 (13:56 -0800)] 
AVRO-1642: Java: Do not generate invalid all-args constructor. Contributed by Prateek Rungta and Barry Jones.

Backport:
Amending-Author: Ben McCann <bmccann@linkedin.com>

5 years agoAVRO-1901: Record named Exception generated bad code
radai-rosenblatt [Fri, 13 Jan 2017 23:22:57 +0000 (15:22 -0800)] 
AVRO-1901: Record named Exception generated bad code

Amending-Author: Ben McCann <bmccann@linkedin.com>

backport to branch-1.7.

Exception record for share/test/schemas/specialtypes.avdl skipped since branch-1.7 doesn't have AVRO-1614.

Closes #188.

Signed-off-by: Sean Busbey <busbey@apache.org>
5 years agoAVRO-1988 Make 1.7 branch actually build. Contributed by Radai Rosenblatt.
radai-rosenblatt [Tue, 4 Oct 2016 22:36:18 +0000 (15:36 -0700)] 
AVRO-1988 Make 1.7 branch actually build. Contributed by Radai Rosenblatt.

Seems like AVRO-1681 was only partially applied to the 1.7 branch. Specifically, the expected test output was not updated to reflect changes in javadoc.
This commit fixes the tests and makes the build pass

Also ignores IDEA files.

Closes #139.

Signed-off-by: Suraj Acharya <suraj.spa@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
6 years agoAVRO-1694. Ruby: Schema normaliation and fingerprints. Contributed by Daniel Schierbeck. branch-1.7
Sean Busbey [Mon, 14 Sep 2015 00:16:22 +0000 (00:16 +0000)] 
AVRO-1694. Ruby: Schema normaliation and fingerprints. Contributed by Daniel Schierbeck.

* Avro::SchemaNormalization.to_parsing_form converts a schema to Parsing
Canonical Form
* support for MD5 and SHA256 fingerprints

This closes #40

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1702841 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAVRO-1709. Ruby: Ignore generated files. Contributed by Daniel Schierbeck.
Sean Busbey [Sat, 12 Sep 2015 07:28:03 +0000 (07:28 +0000)] 
AVRO-1709. Ruby: Ignore generated files. Contributed by Daniel Schierbeck.

    The data.avr file is generated every times the tests are run;
    Gemfile.lock is generated every time `bundle install` is run.

This closes #45

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1702596 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1681. Improve generated JavaDocs. Contributed by Charles Gariépy-Ikeson.
Thomas White [Fri, 26 Jun 2015 14:40:47 +0000 (14:40 +0000)] 
AVRO-1681. Improve generated JavaDocs. Contributed by Charles Gariépy-Ikeson.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1687779 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMerge -r 1640292:1640293 from trunk to branch. Fixes: AVRO-1585. Java: Deprecate...
Thomas White [Tue, 18 Nov 2014 10:10:55 +0000 (10:10 +0000)] 
Merge -r 1640292:1640293 from trunk to branch. Fixes: AVRO-1585. Java: Deprecate Jackson classes in public API.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1640294 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMerge -r 1640178:1640179 from trunk to branch. Fixes: AVRO-1596. AVRO-834. Java:...
Thomas White [Mon, 17 Nov 2014 16:08:43 +0000 (16:08 +0000)] 
Merge -r 1640178:1640179 from trunk to branch. Fixes: AVRO-1596. AVRO-834. Java: Data File corruption recovery tool. Contributed by scottcarey and tomwhite.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1640181 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMerge -r 1640170:1640171 from trunk to branch. Fixes: AVRO-1596. Java: Cannot read...
Thomas White [Mon, 17 Nov 2014 15:33:47 +0000 (15:33 +0000)] 
Merge -r 1640170:1640171 from trunk to branch. Fixes: AVRO-1596. Java: Cannot read past corrupted block in Avro data file.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1640173 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMerge -r 1634541:1634542 from trunk to branch. Fixes: AVRO-1489
Thomas White [Mon, 27 Oct 2014 14:14:33 +0000 (14:14 +0000)] 
Merge -r 1634541:1634542 from trunk to branch. Fixes: AVRO-1489

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1634543 13f79535-47bb-0310-9956-ffa450edef68

7 years agoCopy trunk to branch-1.7.
Doug Cutting [Tue, 2 Sep 2014 22:20:08 +0000 (22:20 +0000)] 
Copy trunk to branch-1.7.

git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.7@1622143 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-843. C#: Change Visual Studio project files to specify .NET 3.5. Contributed...
Doug Cutting [Thu, 7 Aug 2014 17:19:23 +0000 (17:19 +0000)] 
AVRO-843. C#: Change Visual Studio project files to specify .NET 3.5.  Contributed by Dmitry Kovalev.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1616549 13f79535-47bb-0310-9956-ffa450edef68

7 years agoC#: Add support for RPC over HTTP. Contributed by Dmitry Kovalev.
Doug Cutting [Tue, 5 Aug 2014 17:52:53 +0000 (17:52 +0000)] 
C#: Add support for RPC over HTTP.  Contributed by Dmitry Kovalev.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1615967 13f79535-47bb-0310-9956-ffa450edef68

7 years agoC#: Add support for RPC over HTTP. Contributed by Dmitry Kovalev.
Doug Cutting [Mon, 4 Aug 2014 20:12:16 +0000 (20:12 +0000)] 
C#: Add support for RPC over HTTP.  Contributed by Dmitry Kovalev.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1615768 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1544. Java: Fix GenericData#validate for unions with null. Contributed by Matth...
Doug Cutting [Mon, 4 Aug 2014 20:08:11 +0000 (20:08 +0000)] 
AVRO-1544. Java: Fix GenericData#validate for unions with null.  Contributed by Matthew Hayes.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1615764 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1553. Java: MapReduce never uses MapOutputValueSchema.
Thomas White [Tue, 29 Jul 2014 12:50:23 +0000 (12:50 +0000)] 
AVRO-1553. Java: MapReduce never uses MapOutputValueSchema.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1614329 13f79535-47bb-0310-9956-ffa450edef68

7 years agoPrepare trunk for 1.7.8 development.
Doug Cutting [Thu, 24 Jul 2014 20:20:04 +0000 (20:20 +0000)] 
Prepare trunk for 1.7.8 development.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1613271 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1546. Java: Change GenericData.Record#toString() to not escape forward slashes...
Doug Cutting [Fri, 18 Jul 2014 19:11:17 +0000 (19:11 +0000)] 
AVRO-1546. Java: Change GenericData.Record#toString() to not escape forward slashes.  Contributed by Brandon Forehand.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1611772 13f79535-47bb-0310-9956-ffa450edef68

7 years agoPrepare to create 1.7.7 rc0.
Doug Cutting [Fri, 18 Jul 2014 18:37:13 +0000 (18:37 +0000)] 
Prepare to create 1.7.7 rc0.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1611759 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1448. Fix failing test.
Doug Cutting [Wed, 16 Jul 2014 20:06:20 +0000 (20:06 +0000)] 
AVRO-1448. Fix failing test.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1611164 13f79535-47bb-0310-9956-ffa450edef68

7 years agoC++ doesn't build in Ubuntu
Thiruvalluvan M. G [Tue, 15 Jul 2014 18:32:47 +0000 (18:32 +0000)] 
C++ doesn't build in Ubuntu

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1610798 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1448. Python3: Fix setup.py and PyPI installation.
Christophe Taton [Sat, 5 Jul 2014 04:34:49 +0000 (04:34 +0000)] 
AVRO-1448. Python3: Fix setup.py and PyPI installation.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607973 13f79535-47bb-0310-9956-ffa450edef68

7 years agomake perl build commands work in any order
Doug Cutting [Thu, 3 Jul 2014 21:21:35 +0000 (21:21 +0000)] 
make perl build commands work in any order

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607750 13f79535-47bb-0310-9956-ffa450edef68

7 years agoadd excludes for perl
Doug Cutting [Thu, 3 Jul 2014 21:21:03 +0000 (21:21 +0000)] 
add excludes for perl

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607749 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1315. Add missing license header.
Doug Cutting [Thu, 3 Jul 2014 21:20:34 +0000 (21:20 +0000)] 
AVRO-1315. Add missing license header.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607748 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1498. Java: Fix custom encodings to work in reflect without Unsafe access. ...
Doug Cutting [Thu, 3 Jul 2014 18:35:42 +0000 (18:35 +0000)] 
AVRO-1498. Java: Fix custom encodings to work in reflect without Unsafe access.  Contributed by Christopher Mann.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607711 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1499. Ruby: Fix corruption of data files under Ruby 2.0+. Contributed by Willem...
Martin Kleppmann [Thu, 3 Jul 2014 15:10:26 +0000 (15:10 +0000)] 
AVRO-1499. Ruby: Fix corruption of data files under Ruby 2.0+. Contributed by Willem van Bergen.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607667 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1536. Ruby: Remove monkeypatching of Enumerable. Contributed by Willem van Bergen.
Martin Kleppmann [Thu, 3 Jul 2014 15:02:13 +0000 (15:02 +0000)] 
AVRO-1536. Ruby: Remove monkeypatching of Enumerable. Contributed by Willem van Bergen.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607665 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1533. Java: In schema resolution, permit conversion between bytes and string.
Doug Cutting [Tue, 1 Jul 2014 21:33:48 +0000 (21:33 +0000)] 
AVRO-1533. Java: In schema resolution, permit conversion between bytes and string.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607197 13f79535-47bb-0310-9956-ffa450edef68

7 years agowrap long lines
Doug Cutting [Tue, 1 Jul 2014 21:29:22 +0000 (21:29 +0000)] 
wrap long lines

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607195 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAVRO-1535. Java: Make the name .X to refer to X in the null namespace.
Doug Cutting [Tue, 1 Jul 2014 21:18:11 +0000 (21:18 +0000)] 
AVRO-1535. Java: Make the name .X to refer to X in the null namespace.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1607189 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1352. Schema for fixed types corrupted when writing out in JSON format
Thiruvalluvan M. G [Sun, 29 Jun 2014 18:29:31 +0000 (18:29 +0000)] 
AVRO-1352. Schema for fixed types corrupted when writing out in JSON format

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1606560 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1474. C++ resolvind decoder doesn't work when reader schema has more fields...
Thiruvalluvan M. G [Sun, 29 Jun 2014 18:00:05 +0000 (18:00 +0000)] 
AVRO-1474. C++ resolvind decoder doesn't work when reader schema has more fields than writer schema

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1606545 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1525. Java: ReflectData cannot resolve union with fixed.
Thomas White [Thu, 12 Jun 2014 08:55:33 +0000 (08:55 +0000)] 
AVRO-1525. Java: ReflectData cannot resolve union with fixed.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1602095 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1470. Perl: Fix encoding of boolean values. Contributed by John Karp.
Doug Cutting [Wed, 11 Jun 2014 19:48:07 +0000 (19:48 +0000)] 
AVRO-1470. Perl: Fix encoding of boolean values.  Contributed by John Karp.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1602002 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1462. Perl: Stop serializer warnings about Non-ASCII decimal chars. Contributed...
Doug Cutting [Wed, 11 Jun 2014 19:40:47 +0000 (19:40 +0000)] 
AVRO-1462. Perl: Stop serializer warnings about Non-ASCII decimal chars.  Contributed by John Karp.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1601999 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1513. Perl: Remove test plans from unit test files. Contributed by John Karp.
Doug Cutting [Wed, 11 Jun 2014 19:26:34 +0000 (19:26 +0000)] 
AVRO-1513. Perl: Remove test plans from unit test files.  Contributed by John Karp.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1601994 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1315. Java: Schema Validation utilities. Contributed by scottcarey and tomwhite.
Thomas White [Mon, 9 Jun 2014 11:36:34 +0000 (11:36 +0000)] 
AVRO-1315. Java: Schema Validation utilities. Contributed by scottcarey and tomwhite.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1601345 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1500. Java: Fix bug in handling of Thrift shorts in unions. Contributed by...
Doug Cutting [Fri, 6 Jun 2014 21:56:40 +0000 (21:56 +0000)] 
AVRO-1500. Java: Fix bug in handling of Thrift shorts in unions.  Contributed by Michael Pershyn.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1601020 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1522. Java: Add support for compression codecs to SortedKeyValueFile. Contribut...
Doug Cutting [Fri, 6 Jun 2014 21:13:27 +0000 (21:13 +0000)] 
AVRO-1522. Java: Add support for compression codecs to SortedKeyValueFile.  Contributed by Steven Willis.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1601014 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1442. Java: Fix ResolvingGrammarGenerator to work with fixed type. Contributed...
Doug Cutting [Wed, 28 May 2014 22:25:55 +0000 (22:25 +0000)] 
AVRO-1442. Java: Fix ResolvingGrammarGenerator to work with fixed type.  Contributed by Jim Pivarski.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1598161 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1512. Java: Support Thrift unions.
Doug Cutting [Wed, 28 May 2014 22:19:54 +0000 (22:19 +0000)] 
AVRO-1512. Java: Support Thrift unions.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1598159 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1476. Remove transient declaration from Schema.Field#position. Contributed...
Doug Cutting [Wed, 28 May 2014 21:43:43 +0000 (21:43 +0000)] 
AVRO-1476. Remove transient declaration from Schema.Field#position.  Contributed by Robert Chu.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1598151 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1457. Java: Fix Encoder so that offset in non-array-backed ByteBuffers is not...
Doug Cutting [Wed, 28 May 2014 21:26:30 +0000 (21:26 +0000)] 
AVRO-1457. Java: Fix Encoder so that offset in non-array-backed ByteBuffers is not altered when written. Contributed by Rob Turner.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1598146 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1402. Add optional subtypes to specification. Contributed by tomwhite & Ryan...
Douglass R. Cutting [Fri, 18 Apr 2014 15:45:51 +0000 (15:45 +0000)] 
AVRO-1402. Add optional subtypes to specification.  Contributed by tomwhite & Ryan Blue.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1588497 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRevert r1584605. AVRO-1402. Support for DECIMAL type (as a record mapping).
Thomas White [Thu, 10 Apr 2014 10:35:03 +0000 (10:35 +0000)] 
Revert r1584605. AVRO-1402. Support for DECIMAL type (as a record mapping).

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1586265 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1402. Support for DECIMAL type (as a record mapping).
Thomas White [Fri, 4 Apr 2014 10:33:02 +0000 (10:33 +0000)] 
AVRO-1402. Support for DECIMAL type (as a record mapping).

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1584605 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1482. In specification, place null first in unions as best practice.
Doug Cutting [Fri, 14 Mar 2014 19:41:32 +0000 (19:41 +0000)] 
AVRO-1482. In specification, place null first in unions as best practice.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1577673 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1471. Java: Permit writing generated code in different character encodings....
Doug Cutting [Fri, 14 Mar 2014 19:31:20 +0000 (19:31 +0000)] 
AVRO-1471. Java: Permit writing generated code in different character encodings.  Contributed by Eugene Mustaphin.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1577670 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1459. Ruby: Fix a typo in Rakefile that breaks 'gem install'. Contributed by...
Doug Cutting [Thu, 13 Mar 2014 20:43:05 +0000 (20:43 +0000)] 
AVRO-1459. Ruby: Fix a typo in Rakefile that breaks 'gem install'.  Contributed by Tomas Svarovsky.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1577311 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1465. Java: Improve the error message when union dispatch fails. Contributed...
Doug Cutting [Thu, 13 Mar 2014 20:39:26 +0000 (20:39 +0000)] 
AVRO-1465. Java: Improve the error message when union dispatch fails.  Contributed by Gabriel Reid.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1577309 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1473. Java: Fix references to names in the empty namespace. Contributed by...
Doug Cutting [Thu, 13 Mar 2014 18:35:31 +0000 (18:35 +0000)] 
AVRO-1473. Java: Fix references to names in the empty namespace.  Contributed by Gabriel Reid.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1577275 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1472. Java: Clarify parse method in getting started guide. Contributed by Micha...
Doug Cutting [Thu, 13 Mar 2014 18:04:06 +0000 (18:04 +0000)] 
AVRO-1472. Java: Clarify parse method in getting started guide.  Contributed by Michael Knapp.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1577264 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1454. Java: Fix GenericData#toString and AvroAsTextRecordReader to generate...
Doug Cutting [Mon, 3 Mar 2014 18:40:19 +0000 (18:40 +0000)] 
AVRO-1454. Java: Fix GenericData#toString and AvroAsTextRecordReader to generate valid Json for NaN and infinities.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1573670 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1455. Deep copy does not need to create new instances for primitives.
Thomas White [Mon, 3 Mar 2014 15:25:57 +0000 (15:25 +0000)] 
AVRO-1455. Deep copy does not need to create new instances for primitives.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1573582 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1458. Java: Setting char record field via reflection affects other fields
Thomas White [Fri, 28 Feb 2014 10:44:09 +0000 (10:44 +0000)] 
AVRO-1458. Java: Setting char record field via reflection affects other fields

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1572912 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1439. Fix to work when -Dhadoop.version=2.
Doug Cutting [Wed, 5 Feb 2014 19:50:39 +0000 (19:50 +0000)] 
AVRO-1439. Fix to work when -Dhadoop.version=2.
Hadoop2 depends on Commons Codec 1.3, while Hadoop1 depends on 1.4.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1564903 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1449. Java: Optionally validate default values while reading schemas.
Doug Cutting [Wed, 5 Feb 2014 00:09:57 +0000 (00:09 +0000)] 
AVRO-1449. Java: Optionally validate default values while reading schemas.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1564571 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-974. Add a Perl implementation of Avro. Contributed by Yann Kerhervé & John...
Doug Cutting [Wed, 5 Feb 2014 00:02:45 +0000 (00:02 +0000)] 
AVRO-974. Add a Perl implementation of Avro.  Contributed by Yann Kerhervé & John Karp.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1564569 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1439. Java: Add AvroMultipleInputs for mapred. Contributed by Harsh J.
Doug Cutting [Tue, 4 Feb 2014 23:34:02 +0000 (23:34 +0000)] 
AVRO-1439. Java: Add AvroMultipleInputs for mapred.  Contributed by Harsh J.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1564562 13f79535-47bb-0310-9956-ffa450edef68

8 years agotweak test to reduce runtime from 2 minutes to 10 seconds
Doug Cutting [Tue, 28 Jan 2014 22:37:38 +0000 (22:37 +0000)] 
tweak test to reduce runtime from 2 minutes to 10 seconds

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1562292 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1447. Java: Remove dead code from example in documentation. Contributed by...
Doug Cutting [Tue, 28 Jan 2014 20:05:21 +0000 (20:05 +0000)] 
AVRO-1447. Java: Remove dead code from example in documentation.  Contributed by Jesse Anderson.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1562209 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1441. Java: Improve documentation for Maven configuration. Contributed by Jesse...
Doug Cutting [Tue, 28 Jan 2014 20:02:23 +0000 (20:02 +0000)] 
AVRO-1441. Java: Improve documentation for Maven configuration.  Contributed by Jesse Anderson.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1562204 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1436. C#: Fix tests to run multiple times. Contributed by David Taylor.
Doug Cutting [Tue, 28 Jan 2014 19:17:10 +0000 (19:17 +0000)] 
AVRO-1436. C#: Fix tests to run multiple times.  Contributed by David Taylor.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1562161 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1445. Java: Fix protobuf support to correctly handle enums with default values.
Doug Cutting [Mon, 27 Jan 2014 22:09:27 +0000 (22:09 +0000)] 
AVRO-1445. Java: Fix protobuf support to correctly handle enums with default values.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1561875 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1446. C#: Correctly handle system errors in RPC. Contributed by David Taylor.
Doug Cutting [Mon, 27 Jan 2014 22:05:53 +0000 (22:05 +0000)] 
AVRO-1446. C#: Correctly handle system errors in RPC.  Contributed by David Taylor.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1561874 13f79535-47bb-0310-9956-ffa450edef68

8 years agoFix build to better support python3 releases.
Doug Cutting [Mon, 27 Jan 2014 19:25:28 +0000 (19:25 +0000)] 
Fix build to better support python3 releases.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1561801 13f79535-47bb-0310-9956-ffa450edef68

8 years agoPrepare trunk for 1.7.7 development.
Doug Cutting [Thu, 23 Jan 2014 21:50:29 +0000 (21:50 +0000)] 
Prepare trunk for 1.7.7 development.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1560822 13f79535-47bb-0310-9956-ffa450edef68

8 years agoPrepare for 1.7.6 release candidate.
Doug Cutting [Fri, 10 Jan 2014 20:57:53 +0000 (20:57 +0000)] 
Prepare for 1.7.6 release candidate.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557253 13f79535-47bb-0310-9956-ffa450edef68

8 years agoIgnore generated file.
Doug Cutting [Fri, 10 Jan 2014 20:54:12 +0000 (20:54 +0000)] 
Ignore generated file.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557252 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1434. C#: Fix ObjectCreator to be thread safe. Contributed by David Taylor.
Doug Cutting [Fri, 10 Jan 2014 20:52:02 +0000 (20:52 +0000)] 
AVRO-1434. C#: Fix ObjectCreator to be thread safe.  Contributed by David Taylor.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557250 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-987. For back-compatibililty, don't create tools jar as a bundle.
Doug Cutting [Fri, 10 Jan 2014 19:27:39 +0000 (19:27 +0000)] 
AVRO-987.  For back-compatibililty, don't create tools jar as a bundle.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557231 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1382. Add missing license header.
Doug Cutting [Fri, 10 Jan 2014 19:20:58 +0000 (19:20 +0000)] 
AVRO-1382. Add missing license header.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557229 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1382. Ignore generated files.
Doug Cutting [Fri, 10 Jan 2014 19:16:43 +0000 (19:16 +0000)] 
AVRO-1382. Ignore generated files.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557227 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1382. Add support for Python3. Contributed by Christophe Taton.
Doug Cutting [Fri, 10 Jan 2014 19:11:42 +0000 (19:11 +0000)] 
AVRO-1382. Add support for Python3.  Contributed by Christophe Taton.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557225 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1415. C++ binary encoder and decoder doesn't handle uninitialzed enums
Thiruvalluvan M. G [Fri, 10 Jan 2014 07:10:58 +0000 (07:10 +0000)] 
AVRO-1415. C++ binary encoder and decoder doesn't handle uninitialzed enums

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1557041 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1433. Java: Fix compiler to not drop aliases when StringType is String.
Doug Cutting [Thu, 9 Jan 2014 23:34:08 +0000 (23:34 +0000)] 
AVRO-1433. Java: Fix compiler to not drop aliases when StringType is String.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1556982 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1432. Java: Reduce javadoc warnings.
Doug Cutting [Thu, 9 Jan 2014 23:13:32 +0000 (23:13 +0000)] 
AVRO-1432. Java: Reduce javadoc warnings.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1556980 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAVRO-1427. Java: Improve ResolvingDecoder tests. Contributed by Rob Turner.
Doug Cutting [Thu, 9 Jan 2014 19:51:50 +0000 (19:51 +0000)] 
AVRO-1427. Java: Improve ResolvingDecoder tests. Contributed by Rob Turner.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1556934 13f79535-47bb-0310-9956-ffa450edef68