[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638830#comment-13638830 ] Leo Romanoff commented on AVRO-1282: @Scott: I don't think that security manager

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638860#comment-13638860 ] Scott Carey commented on AVRO-1282: --- I agree, it is the same solution -- two instances of

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638920#comment-13638920 ] Leo Romanoff commented on AVRO-1282: @Scott: Coming back to your message about reading

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638981#comment-13638981 ] Leo Romanoff commented on AVRO-1282: I did some experiments with Unsafe IO, i.e. I've

[jira] [Commented] (AVRO-1309) ProtobufData does not correctly handle nested enums

2013-04-23 Thread Steve Zesch (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639136#comment-13639136 ] Steve Zesch commented on AVRO-1309: --- This works. ProtobufData does not

[jira] [Updated] (AVRO-1277) Improve performance of reflection-based serializers

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-1277: --- Resolution: Duplicate Status: Resolved (was: Patch Available) Improve performance of

[jira] [Updated] (AVRO-1309) ProtobufData does not correctly handle nested enums

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-1309: --- Resolution: Fixed Status: Resolved (was: Patch Available) I committed this.

[jira] [Updated] (AVRO-1299) SpecificRecordBase implements GenericRecord

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-1299: --- Resolution: Fixed Assignee: Christophe Taton Status: Resolved (was: Patch Available) I

[jira] [Updated] (AVRO-1308) Don't call hasField on a repeated message

2013-04-23 Thread Steve Zesch (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Zesch updated AVRO-1308: -- Attachment: AVRO-1308.patch Updated AVRO-1308.patch. I've changed test.proto and TestProtobuf.java to

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639339#comment-13639339 ] Scott Carey commented on AVRO-1282: --- Yes, ResolvingDecoder is a bottleneck. I have

[jira] [Commented] (AVRO-1308) Don't call hasField on a repeated message

2013-04-23 Thread Steve Zesch (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639475#comment-13639475 ] Steve Zesch commented on AVRO-1308: --- Yes this works. Don't call

[jira] [Commented] (AVRO-1274) Add a schema builder API

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639516#comment-13639516 ] Scott Carey commented on AVRO-1274: --- This looks good. Minor nit: perhaps change

[jira] [Commented] (AVRO-1274) Add a schema builder API

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639554#comment-13639554 ] Doug Cutting commented on AVRO-1274: 'default' is a reserved word in Java and cannot be

[jira] [Updated] (AVRO-1304) Python Avro match_schemas called redundantly

2013-04-23 Thread Uri Laserson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uri Laserson updated AVRO-1304: --- Status: Patch Available (was: Open) DatumReader now immutable. Changes interface just slightly.

[jira] [Updated] (AVRO-1304) Python Avro match_schemas called redundantly

2013-04-23 Thread Uri Laserson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uri Laserson updated AVRO-1304: --- Attachment: AVRO-1304.patch Python Avro match_schemas called redundantly

[jira] [Commented] (AVRO-1304) Python Avro match_schemas called redundantly

2013-04-23 Thread Uri Laserson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639566#comment-13639566 ] Uri Laserson commented on AVRO-1304: In principle the similar changes can be made to

[jira] [Updated] (AVRO-1308) Don't call hasField on a repeated message

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-1308: --- Resolution: Fixed Fix Version/s: 1.7.5 Assignee: Steve Zesch Status:

[jira] [Commented] (AVRO-1304) Python Avro match_schemas called redundantly

2013-04-23 Thread Uri Laserson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639572#comment-13639572 ] Uri Laserson commented on AVRO-1304: Jeremy: I made the DatumReader immutable and then

[jira] [Updated] (AVRO-1274) Add a schema builder API

2013-04-23 Thread Tom White (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated AVRO-1274: Attachment: AVRO-1274.patch Thanks Scott. I added a test for the namespace behaviour. The namespace

[jira] [Commented] (AVRO-1297) NettyTransceiver: Provide overloaded close(boolean awaitCompletion)

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639788#comment-13639788 ] Doug Cutting commented on AVRO-1297: +1 This looks reasonable to me.

[jira] [Commented] (AVRO-1285) Avro schema compile does not support circular reference

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639809#comment-13639809 ] Doug Cutting commented on AVRO-1285: This is actually possible from Java (AVRO-872),

[jira] [Commented] (AVRO-1279) Avro-C: file_read_header() segfaults when avro.codec is not defined

2013-04-23 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639812#comment-13639812 ] Doug Cutting commented on AVRO-1279: Carl, can you please provide a patch that fixes

[jira] [Commented] (AVRO-1299) SpecificRecordBase implements GenericRecord

2013-04-23 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639878#comment-13639878 ] Hudson commented on AVRO-1299: -- Integrated in AvroJava #364 (See

[jira] [Commented] (AVRO-1279) Avro-C: file_read_header() segfaults when avro.codec is not defined

2013-04-23 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639926#comment-13639926 ] Carl Steinbach commented on AVRO-1279: -- Will do. Avro-C:

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639987#comment-13639987 ] Leo Romanoff commented on AVRO-1282: How much do those improvements help the Generic

Re: Support for inheritance in avro IDL?

2013-04-23 Thread Alexandre Normand
We're also using unions now for patterns like this so it's not terribly high priority. But I'd still like to do this as currently, the client code is not terribly nice to look at with all the casting and instanceofs. I haven't looked at what kind of effort would be involved but I'll create a

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13640081#comment-13640081 ] Scott Carey commented on AVRO-1282: --- Regarding copying of data into an array on read: