[jira] [Updated] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread Ryan Blue (JIRA)

 [ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Blue updated AVRO-1626:

Fix Version/s: (was: 1.8.2)
   1.9.0

> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
> Fix For: 1.9.0
>
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread Ryan Blue (JIRA)

 [ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Blue reopened AVRO-1626:
-

This patch caused the 1.8.2 tests to fail in docker. I'm pushing it out of the 
1.8.2 release, we can fix it for 1.8.3 or 1.9.0.

> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
> Fix For: 1.9.0
>
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (AVRO-1951) Python tests fail because dummyserver.net no longer exists.

2016-11-05 Thread Ryan Blue (JIRA)

 [ 
https://issues.apache.org/jira/browse/AVRO-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Blue resolved AVRO-1951.
-
Resolution: Fixed

> Python tests fail because dummyserver.net no longer exists.
> ---
>
> Key: AVRO-1951
> URL: https://issues.apache.org/jira/browse/AVRO-1951
> Project: Avro
>  Issue Type: Bug
>  Components: python
>Affects Versions: 1.8.2
>Reporter: Ryan Blue
>Assignee: Ryan Blue
> Fix For: 1.8.2
>
>
> Python's test_ipc.py uses dummyserver.net to create an IPC client and then 
> check that it has the right configuration. The client doesn't interact with 
> the endpoint, but the endpoint has to be a valid DNS name and dummyserver.net 
> is no longer resolving. Updating it to a real DNS name fixes the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640704#comment-15640704
 ] 

ASF subversion and git services commented on AVRO-1626:
---

Commit bec6349f46b40fe0a4674062179966696e3026b1 in avro's branch 
refs/heads/branch-1.8 from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=bec6349 ]

Revert "AVRO-1626: C#: Fix Avro.pref build error. Contributed by Naruto 
Takahashi."

This reverts commit 338b443f0d1452b9b1ac4a00eaef162e5a644be7.


> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
> Fix For: 1.8.2
>
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1907) Add logging to logical type handling in java library

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640664#comment-15640664
 ] 

ASF subversion and git services commented on AVRO-1907:
---

Commit 695efafb45f96c9d9ae0f905ef3c33fe75751612 in avro's branch 
refs/heads/branch-1.8 from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=695efaf ]

AVRO-1907 ADDENDUM: Do not warn when logical type name is null.


> Add logging to logical type handling in java library
> 
>
> Key: AVRO-1907
> URL: https://issues.apache.org/jira/browse/AVRO-1907
> Project: Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Gabor Szadovszky
> Fix For: 1.8.2
>
>
> Right now we don't have any logging while handling logical type information 
> in a Schema. In particular, we use {{LogicalTypes.fromSchemaIgnoreInvalid}} 
> which means when folks have a problem in their schema logical types just 
> disappear with no debugging information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1951) Python tests fail because dummyserver.net no longer exists.

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640665#comment-15640665
 ] 

ASF subversion and git services commented on AVRO-1951:
---

Commit edf6a7e6c38f1a5e941fbc79fd8c7d37d04344cf in avro's branch 
refs/heads/branch-1.8 from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=edf6a7e ]

AVRO-1951: Python: Fix ipc_test.py with a valid DNS name.


> Python tests fail because dummyserver.net no longer exists.
> ---
>
> Key: AVRO-1951
> URL: https://issues.apache.org/jira/browse/AVRO-1951
> Project: Avro
>  Issue Type: Bug
>  Components: python
>Affects Versions: 1.8.2
>Reporter: Ryan Blue
>Assignee: Ryan Blue
> Fix For: 1.8.2
>
>
> Python's test_ipc.py uses dummyserver.net to create an IPC client and then 
> check that it has the right configuration. The client doesn't interact with 
> the endpoint, but the endpoint has to be a valid DNS name and dummyserver.net 
> is no longer resolving. Updating it to a real DNS name fixes the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1907) Add logging to logical type handling in java library

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640660#comment-15640660
 ] 

ASF subversion and git services commented on AVRO-1907:
---

Commit 454db15472ee849e58220fb714638610eb869bac in avro's branch 
refs/heads/master from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=454db15 ]

AVRO-1907 ADDENDUM: Do not warn when logical type name is null.


> Add logging to logical type handling in java library
> 
>
> Key: AVRO-1907
> URL: https://issues.apache.org/jira/browse/AVRO-1907
> Project: Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Gabor Szadovszky
> Fix For: 1.8.2
>
>
> Right now we don't have any logging while handling logical type information 
> in a Schema. In particular, we use {{LogicalTypes.fromSchemaIgnoreInvalid}} 
> which means when folks have a problem in their schema logical types just 
> disappear with no debugging information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1951) Python tests fail because dummyserver.net no longer exists.

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640661#comment-15640661
 ] 

ASF subversion and git services commented on AVRO-1951:
---

Commit 7a398e0f373fcbe4e9fe5e068c3e720530f0a849 in avro's branch 
refs/heads/master from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=7a398e0 ]

AVRO-1951: Python: Fix ipc_test.py with a valid DNS name.


> Python tests fail because dummyserver.net no longer exists.
> ---
>
> Key: AVRO-1951
> URL: https://issues.apache.org/jira/browse/AVRO-1951
> Project: Avro
>  Issue Type: Bug
>  Components: python
>Affects Versions: 1.8.2
>Reporter: Ryan Blue
>Assignee: Ryan Blue
> Fix For: 1.8.2
>
>
> Python's test_ipc.py uses dummyserver.net to create an IPC client and then 
> check that it has the right configuration. The client doesn't interact with 
> the endpoint, but the endpoint has to be a valid DNS name and dummyserver.net 
> is no longer resolving. Updating it to a real DNS name fixes the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (AVRO-1951) Python tests fail because dummyserver.net no longer exists.

2016-11-05 Thread Ryan Blue (JIRA)
Ryan Blue created AVRO-1951:
---

 Summary: Python tests fail because dummyserver.net no longer 
exists.
 Key: AVRO-1951
 URL: https://issues.apache.org/jira/browse/AVRO-1951
 Project: Avro
  Issue Type: Bug
  Components: python
Affects Versions: 1.8.2
Reporter: Ryan Blue
Assignee: Ryan Blue
 Fix For: 1.8.2


Python's test_ipc.py uses dummyserver.net to create an IPC client and then 
check that it has the right configuration. The client doesn't interact with the 
endpoint, but the endpoint has to be a valid DNS name and dummyserver.net is no 
longer resolving. Updating it to a real DNS name fixes the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1897) clean checkout fails when following BUILD.txt instructions for test

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640580#comment-15640580
 ] 

ASF subversion and git services commented on AVRO-1897:
---

Commit 620b2807eb2cee03baa146503454a1cb0054c7f0 in avro's branch 
refs/heads/branch-1.8 from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=620b280 ]

AVRO-1897: Fix build issues due to VERSION.txt newline, avro-tools. Contributed 
by Suraj Acharya.


> clean checkout fails when following BUILD.txt instructions for test
> ---
>
> Key: AVRO-1897
> URL: https://issues.apache.org/jira/browse/AVRO-1897
> Project: Avro
>  Issue Type: Bug
>  Components: build, python
>Affects Versions: 1.8.1
>Reporter: Sean Busbey
>Assignee: Suraj Acharya
>Priority: Blocker
> Fix For: 1.8.2
>
> Attachments: AVRO-1897.2.patch, AVRO-1897.patch, AVRO-1897.patch.1
>
>
> Clean checkout of branch-1.8 run in docker mode fails {{./build.sh test}} on 
> the python module because it can't find a copy of the avro-tools jar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (AVRO-1897) clean checkout fails when following BUILD.txt instructions for test

2016-11-05 Thread Ryan Blue (JIRA)

 [ 
https://issues.apache.org/jira/browse/AVRO-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Blue updated AVRO-1897:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

Merged. Thanks for fixing this, [~sacharya]!

> clean checkout fails when following BUILD.txt instructions for test
> ---
>
> Key: AVRO-1897
> URL: https://issues.apache.org/jira/browse/AVRO-1897
> Project: Avro
>  Issue Type: Bug
>  Components: build, python
>Affects Versions: 1.8.1
>Reporter: Sean Busbey
>Assignee: Suraj Acharya
>Priority: Blocker
> Fix For: 1.8.2
>
> Attachments: AVRO-1897.2.patch, AVRO-1897.patch, AVRO-1897.patch.1
>
>
> Clean checkout of branch-1.8 run in docker mode fails {{./build.sh test}} on 
> the python module because it can't find a copy of the avro-tools jar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1897) clean checkout fails when following BUILD.txt instructions for test

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640573#comment-15640573
 ] 

ASF subversion and git services commented on AVRO-1897:
---

Commit 23de4d0133f04fd9d33b54a7c304f92b6802049e in avro's branch 
refs/heads/master from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=23de4d0 ]

AVRO-1897: Fix build issues due to VERSION.txt newline, avro-tools. Contributed 
by Suraj Acharya.


> clean checkout fails when following BUILD.txt instructions for test
> ---
>
> Key: AVRO-1897
> URL: https://issues.apache.org/jira/browse/AVRO-1897
> Project: Avro
>  Issue Type: Bug
>  Components: build, python
>Affects Versions: 1.8.1
>Reporter: Sean Busbey
>Assignee: Suraj Acharya
>Priority: Blocker
> Fix For: 1.8.2
>
> Attachments: AVRO-1897.2.patch, AVRO-1897.patch, AVRO-1897.patch.1
>
>
> Clean checkout of branch-1.8 run in docker mode fails {{./build.sh test}} on 
> the python module because it can't find a copy of the avro-tools jar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1885) Release 1.8.2

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640541#comment-15640541
 ] 

ASF subversion and git services commented on AVRO-1885:
---

Commit c693f54f185c5b3f4a7314f1749693da4ce3b299 in avro's branch 
refs/heads/branch-1.8 from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=c693f54 ]

AVRO-1885: Update CHANGES.txt for 1.8.2 release.


> Release 1.8.2
> -
>
> Key: AVRO-1885
> URL: https://issues.apache.org/jira/browse/AVRO-1885
> Project: Avro
>  Issue Type: Task
>  Components: community
>Affects Versions: 1.8.2
>Reporter: Sean Busbey
>Assignee: Sean Busbey
> Fix For: 1.8.2
>
>
> Please link to any issues that should be considered blockers for the 1.8.2 
> release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1932) Allow setting the SchemaStore on generated classes

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640513#comment-15640513
 ] 

ASF subversion and git services commented on AVRO-1932:
---

Commit 69a343b9c37a5410e4f20fd6cf870a68ebf023ce in avro's branch 
refs/heads/branch-1.8 from [~nielsbasjes]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=69a343b ]

AVRO-1932: Java: Allow setting the SchemaStore on generated classes.


> Allow setting the SchemaStore on generated classes
> --
>
> Key: AVRO-1932
> URL: https://issues.apache.org/jira/browse/AVRO-1932
> Project: Avro
>  Issue Type: Improvement
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>
> With AVRO-1704 we can now create a binary form of a record that can be put in 
> Kafka. I tried to use this new feature in my own application and soon noticed 
> that if a class is generated from the IDL you cannot set/change the schema 
> resolution system.
> Goal:
> - Allow setting the schema resolution in a generated class
> - Allow simply adding a single schema in a generated class



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1929) SchemaCompatibility fails to recognize string<->bytes promotion

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640512#comment-15640512
 ] 

ASF subversion and git services commented on AVRO-1929:
---

Commit 1b91c06e92c4b5dd8e3a3e936b36e54fb9c9e023 in avro's branch 
refs/heads/branch-1.8 from [~cutting]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=1b91c06 ]

AVRO-1929: Java: SchemaCompatibility fails to recognize string<->bytes 
promotion.  Contributed by Anders Sundelin.


> SchemaCompatibility fails to recognize string<->bytes promotion
> ---
>
> Key: AVRO-1929
> URL: https://issues.apache.org/jira/browse/AVRO-1929
> Project: Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.7.7, 1.8.0, 1.8.1, 1.9.0
> Environment: Any Java env
>Reporter: Anders Sundelin
>Assignee: Anders Sundelin
>Priority: Minor
> Fix For: 1.9.0, 1.8.2
>
> Attachments: AVRO-1929.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The class SchemaCompatibility fails to realize the change made as of 
> AVRO-1553, where string-to/from-bytes promotions were allowed (according to 
> docs, this was integrated into 1.7.7)
> The submitted fix corrects this (also updating the relevant unit test)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1907) Add logging to logical type handling in java library

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640518#comment-15640518
 ] 

ASF subversion and git services commented on AVRO-1907:
---

Commit 16870af3aa3abe5e2cdc8ccc48ba4ecf20f10f9c in avro's branch 
refs/heads/branch-1.8 from [~gszadovszky]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=16870af ]

AVRO-1907: Java: Add debug logging for invalid logical types.

Contributed by Gabor Szadovszky.


> Add logging to logical type handling in java library
> 
>
> Key: AVRO-1907
> URL: https://issues.apache.org/jira/browse/AVRO-1907
> Project: Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Gabor Szadovszky
> Fix For: 1.8.2
>
>
> Right now we don't have any logging while handling logical type information 
> in a Schema. In particular, we use {{LogicalTypes.fromSchemaIgnoreInvalid}} 
> which means when folks have a problem in their schema logical types just 
> disappear with no debugging information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1947) Inconsistent maven profile activation

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640517#comment-15640517
 ] 

ASF subversion and git services commented on AVRO-1947:
---

Commit b28f0d5f8dd5c99d3fff87527627a44be5fd44c4 in avro's branch 
refs/heads/branch-1.8 from [~gszadovszky]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=b28f0d5 ]

AVRO-1947 - Inconsistent maven profile activation


> Inconsistent maven profile activation
> -
>
> Key: AVRO-1947
> URL: https://issues.apache.org/jira/browse/AVRO-1947
> Project: Avro
>  Issue Type: Bug
>  Components: build, java
>Affects Versions: 1.8.1
>Reporter: Gabor Szadovszky
>Assignee: Gabor Szadovszky
> Fix For: 1.9.0
>
>
> The profiles {{hadoop1}} and {{hadoop2}} can be activated by setting the 
> property {{hadoop.version}}. Currently it is implemented in a way that 
> {{hadoop2}} is activated by default (if the property is not set) and 
> {{hadoop1}} is activated if the property is set to {{1}}. BUT if the property 
> is set to any other value (including {{2}}!) none of these profiles will be 
> activated.
> Easily reproducible by using the following commands:
> - {{mvn help:active-profiles}}
> - {{mvn help:active-profiles -Dhadoop.version=2}}
> - {{mvn help:active-profiles -Dhadoop.version=1}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640519#comment-15640519
 ] 

ASF subversion and git services commented on AVRO-1626:
---

Commit 338b443f0d1452b9b1ac4a00eaef162e5a644be7 in avro's branch 
refs/heads/branch-1.8 from Naruto TAKAHASHI
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=338b443 ]

AVRO-1626: C#: Fix Avro.pref build error. Contributed by Naruto Takahashi.

Also removes '-framework' parameter from nunit-console

Closes #136.


> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
> Fix For: 1.8.2
>
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1882) ConcurrentHashMap with non-string keys fails in Java 1.8

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640514#comment-15640514
 ] 

ASF subversion and git services commented on AVRO-1882:
---

Commit b2a2256775b56eb21c7b3599dc9a766067cd6c27 in avro's branch 
refs/heads/branch-1.8 from [~sachingoyal]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=b2a2256 ]

AVRO-1882: ConcurrentHashMap with non-string keys fails in Java 1.8


> ConcurrentHashMap with non-string keys fails in Java 1.8
> 
>
> Key: AVRO-1882
> URL: https://issues.apache.org/jira/browse/AVRO-1882
> Project: Avro
>  Issue Type: Bug
>Affects Versions: 1.8.1
>Reporter: Sachin Goyal
>Assignee: Sachin Goyal
> Fix For: 1.8.2
>
> Attachments: TestNonStringConcurrentMap.java
>
>
> Support for ConcurrentHashMaps with non-string keys seems to be broken when 
> 1.8 version of Java is used because the newer ConcurrentHashMap uses the 
> names "key" and "val" instead of "key" and "values" for its Map.Entry class.
> [HashEntry in 
> 1.7|http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/concurrent/ConcurrentHashMap.java#218]
> [MapEntry in 
> 1.8|http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/util/concurrent/ConcurrentHashMap.java?av=h#3468]
> Hence avro-code that assumes the presence of key/value breaks.
> ([ReflectData.java:L434-L443|https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java#L434-L443])
> Run the attached test to see the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1860) DefaultValue() returns Ints for Long fields

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640511#comment-15640511
 ] 

ASF subversion and git services commented on AVRO-1860:
---

Commit f02db39114cd3b1bd02e87b86812f2c0cafdba86 in avro's branch 
refs/heads/branch-1.8 from [~cutting]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=f02db39 ]

AVRO-1860: Java: Field#DefaultVal() returns Ints for Long fields.  Contributed 
by Gabor Szadovszky.


> DefaultValue() returns Ints for Long fields
> ---
>
> Key: AVRO-1860
> URL: https://issues.apache.org/jira/browse/AVRO-1860
> Project: Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.8.1
>Reporter: Manuel Rieke
>Assignee: Gabor Szadovszky
> Fix For: 1.9.0, 1.8.2
>
>
> I am iterating over the schemas for getting default values for fields. When 
> the type of a field is Long Avro returns INT instead:
> field.defaultVal()
> -->Field.defaultVal()
> -->Jacksonutils.toObject(jsonNode)
> -->Jacksonutils.toObject(jsonNode, null)
> The Field class already contains the information ("long"), so shouldn't the 
> Field class use Jacksonutils-toObject-Method with schema? Otherwise it is 
> always null and Integer are returned.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1944) Invalid toString results

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640516#comment-15640516
 ] 

ASF subversion and git services commented on AVRO-1944:
---

Commit 92ed81fd2eade11f5352fb0b9395b167f3153d47 in avro's branch 
refs/heads/branch-1.8 from [~nielsbasjes]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=92ed81f ]

AVRO-1944: Fixed invalid toString in records with duplicate values


> Invalid toString results
> 
>
> Key: AVRO-1944
> URL: https://issues.apache.org/jira/browse/AVRO-1944
> Project: Avro
>  Issue Type: Bug
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>
> When I create a record where there are two fields with the same value then I 
> get an incorrect results from toString.
> This is caused by a bug in the solution for AVRO-1923



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1923) Recursive record causes StackOverflow in GenericData.toString

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640510#comment-15640510
 ] 

ASF subversion and git services commented on AVRO-1923:
---

Commit aa0ee44822a62fd087fa8cca169dfef4e182af0f in avro's branch 
refs/heads/branch-1.8 from [~nielsbasjes]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=aa0ee44 ]

AVRO-1923: Stop infinite recursion in GenericData.toString


> Recursive record causes StackOverflow in GenericData.toString
> -
>
> Key: AVRO-1923
> URL: https://issues.apache.org/jira/browse/AVRO-1923
> Project: Avro
>  Issue Type: Bug
>Reporter: Niels Basjes
>Assignee: Niels Basjes
> Attachments: AVRO-1923-Unittest.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (AVRO-1907) Add logging to logical type handling in java library

2016-11-05 Thread Ryan Blue (JIRA)

 [ 
https://issues.apache.org/jira/browse/AVRO-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Blue updated AVRO-1907:

   Resolution: Fixed
Fix Version/s: 1.8.2
   Status: Resolved  (was: Patch Available)

Merged #130 from [~gszadovszky]. Thanks!

> Add logging to logical type handling in java library
> 
>
> Key: AVRO-1907
> URL: https://issues.apache.org/jira/browse/AVRO-1907
> Project: Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Gabor Szadovszky
> Fix For: 1.8.2
>
>
> Right now we don't have any logging while handling logical type information 
> in a Schema. In particular, we use {{LogicalTypes.fromSchemaIgnoreInvalid}} 
> which means when folks have a problem in their schema logical types just 
> disappear with no debugging information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread Ryan Blue (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640463#comment-15640463
 ] 

Ryan Blue commented on AVRO-1626:
-

Merged the fix from Naruto. I don't see a JIRA account, so I'm leaving this 
unassigned. Thanks Naruto!

> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
> Fix For: 1.8.2
>
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread Ryan Blue (JIRA)

 [ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Blue resolved AVRO-1626.
-
   Resolution: Fixed
Fix Version/s: 1.8.2

> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
> Fix For: 1.8.2
>
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640457#comment-15640457
 ] 

ASF GitHub Bot commented on AVRO-1626:
--

Github user asfgit closed the pull request at:

https://github.com/apache/avro/pull/136


> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1626) Missing lang/csharp/src/apache/perf/app.config

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640456#comment-15640456
 ] 

ASF subversion and git services commented on AVRO-1626:
---

Commit ecc2adb31a1bcd61d073d87de8be18b2a91f5e6d in avro's branch 
refs/heads/master from Naruto TAKAHASHI
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=ecc2adb ]

AVRO-1626: C#: Fix Avro.pref build error. Contributed by Naruto Takahashi.

Also removes '-framework' parameter from nunit-console

Closes #136.


> Missing lang/csharp/src/apache/perf/app.config
> --
>
> Key: AVRO-1626
> URL: https://issues.apache.org/jira/browse/AVRO-1626
> Project: Avro
>  Issue Type: Bug
>  Components: csharp
>Reporter: Niels Basjes
>
> This error is output during the build 
> {code}
> Target _CopyAppConfigFile:
> /usr/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy 
> /home/nbasjes/avro/lang/csharp/src/apache/perf/app.config to 
> /home/nbasjes/avro/lang/csharp/build/perf/Release/Avro.perf.exe.config, as 
> the source file doesn't exist.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] avro pull request #136: AVRO-1626: fix csharp build error

2016-11-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/avro/pull/136


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (AVRO-1907) Add logging to logical type handling in java library

2016-11-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15640449#comment-15640449
 ] 

ASF subversion and git services commented on AVRO-1907:
---

Commit bf7f3934c3f33bbd1d8923bf3c33e0fe45831ec5 in avro's branch 
refs/heads/master from [~gszadovszky]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=bf7f393 ]

AVRO-1907: Java: Add debug logging for invalid logical types.

Contributed by Gabor Szadovszky.


> Add logging to logical type handling in java library
> 
>
> Key: AVRO-1907
> URL: https://issues.apache.org/jira/browse/AVRO-1907
> Project: Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Gabor Szadovszky
>
> Right now we don't have any logging while handling logical type information 
> in a Schema. In particular, we use {{LogicalTypes.fromSchemaIgnoreInvalid}} 
> which means when folks have a problem in their schema logical types just 
> disappear with no debugging information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (AVRO-1950) Better Json serialization for Avro decimal logical types?

2016-11-05 Thread Zoltan Farkas (JIRA)
Zoltan Farkas created AVRO-1950:
---

 Summary: Better Json serialization for Avro decimal logical types?
 Key: AVRO-1950
 URL: https://issues.apache.org/jira/browse/AVRO-1950
 Project: Avro
  Issue Type: Improvement
Reporter: Zoltan Farkas
Priority: Minor


Currently as I understand decimal logical types are encoded on top of bytes and 
fixed avro types. This makes them a bit "unnatural" in the json encoding...

I worked around a hack in my fork to naturally encode them into json decimals. 
A good starting point to look at is in: 
https://github.com/zolyfarkas/avro/blob/trunk/lang/java/avro/src/main/java/org/apache/avro/io/DecimalEncoder.java
 

My approach is a bit hacky, so I would be interested in suggestions to have 
this closer to something we can integrate into avro...





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)