[jira] Updated: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-261: - Attachment: AVRO-261.patch Here is a patch which addresses this issue. The Schema we have h

[jira] Updated: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-261: - Attachment: AVRO-261.patch bq. I applied Kevin's idea having a boolean variable locked. J

[jira] Updated: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-261: - Assignee: Thiruvalluvan M. G. Status: Patch Available (was: Open) > Allow Schemas to

[jira] Updated: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-261: - Attachment: (was: AVRO-261.patch) > Allow Schemas to be immutable > ---

[jira] Assigned: (AVRO-390) ResolvingDecoder does not handle default values for records well

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. reassigned AVRO-390: Assignee: Thiruvalluvan M. G. > ResolvingDecoder does not handle default values for r

[jira] Assigned: (AVRO-389) ResolvingDecoder does not resolve enum well

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. reassigned AVRO-389: Assignee: Thiruvalluvan M. G. > ResolvingDecoder does not resolve enum well > ---

[jira] Assigned: (AVRO-388) Using ResolvingDecoder in GenericDatumReader

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. reassigned AVRO-388: Assignee: Thiruvalluvan M. G. > Using ResolvingDecoder in GenericDatumReader > --

[jira] Updated: (AVRO-390) ResolvingDecoder does not handle default values for records well

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-390: - Status: Patch Available (was: Open) > ResolvingDecoder does not handle default values for

[jira] Updated: (AVRO-383) Optiminzing ResolvingDecoder for default values

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-383: - Status: Patch Available (was: Reopened) > Optiminzing ResolvingDecoder for default values

[jira] Updated: (AVRO-389) ResolvingDecoder does not resolve enum well

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-389: - Status: Patch Available (was: Open) > ResolvingDecoder does not resolve enum well > --

[jira] Updated: (AVRO-388) Using ResolvingDecoder in GenericDatumReader

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-388: - Status: Patch Available (was: Open) > Using ResolvingDecoder in GenericDatumReader > -

[jira] Commented: (AVRO-208) java specific compiler doesn't check for ambiguous enums

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828194#action_12828194 ] Thiruvalluvan M. G. commented on AVRO-208: -- ValidatingEncoder/Decoder and ResolvingD

[jira] Created: (AVRO-391) DoS possible on java rpc servers

2010-02-01 Thread Eric Evans (JIRA)
DoS possible on java rpc servers Key: AVRO-391 URL: https://issues.apache.org/jira/browse/AVRO-391 Project: Avro Issue Type: Bug Components: java Affects Versions: 1.3.0 Environment: Op

[jira] Commented: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Philip Zeyliger (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828198#action_12828198 ] Philip Zeyliger commented on AVRO-261: -- I like having schemas immutable. This patch loo

[jira] Commented: (AVRO-208) java specific compiler doesn't check for ambiguous enums

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828205#action_12828205 ] Doug Cutting commented on AVRO-208: --- > ValidatingEncoder/Decoder and ResolvingDecoder will

[jira] Commented: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828211#action_12828211 ] Doug Cutting commented on AVRO-261: --- Thiru: does wrapping these not affect performance? Ma

[jira] Commented: (AVRO-389) ResolvingDecoder does not resolve enum well

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828214#action_12828214 ] Doug Cutting commented on AVRO-389: --- +1 Thanks! > ResolvingDecoder does not resolve enum

[jira] Commented: (AVRO-390) ResolvingDecoder does not handle default values for records well

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828212#action_12828212 ] Doug Cutting commented on AVRO-390: --- +1 Looks good. Thanks! > ResolvingDecoder does not h

[jira] Commented: (AVRO-383) Optiminzing ResolvingDecoder for default values

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828215#action_12828215 ] Doug Cutting commented on AVRO-383: --- +1. Thanks! > Optiminzing ResolvingDecoder for defau

[jira] Commented: (AVRO-388) Using ResolvingDecoder in GenericDatumReader

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828216#action_12828216 ] Doug Cutting commented on AVRO-388: --- > 5. Add a new field called "name" to Schema.Field cla

[jira] Commented: (AVRO-388) Using ResolvingDecoder in GenericDatumReader

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828219#action_12828219 ] Doug Cutting commented on AVRO-388: --- It's worth noting that, once this is committed, all Ja

[jira] Commented: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828220#action_12828220 ] Scott Carey commented on AVRO-261: -- bq. Thiru: does wrapping these not affect performance? M

[jira] Commented: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Michael Armbrust (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828226#action_12828226 ] Michael Armbrust commented on AVRO-387: --- I still seem to be having the issue when worki

[jira] Updated: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-387: -- Attachment: AVRO-387.patch Here's a version that also fixes this for specific records. > hashCode throws

[jira] Commented: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828246#action_12828246 ] Scott Carey commented on AVRO-387: -- Perhaps a longer term solution to this is making toStrin

[jira] Commented: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Michael Armbrust (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828250#action_12828250 ] Michael Armbrust commented on AVRO-387: --- Doug's updated patch fixes the issue for me.

[jira] Updated: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-387: -- Attachment: AVRO-387.patch Here's a patch that adds a new interface, IndexedRecord, that's used by both

[jira] Updated: (AVRO-321) Run Java RPC interop tests again

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-321: -- Attachment: AVRO-321.patch Here's a complete version of RPC interop tests. It currently only runs java-

[jira] Commented: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828335#action_12828335 ] Kevin Oliver commented on AVRO-261: --- Yep, this looks like a good step. Thanks. Regarding s

[jira] Commented: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828354#action_12828354 ] Doug Cutting commented on AVRO-261: --- > Wouldn't passing in the fields LinkedHashMap into th

[jira] Commented: (AVRO-261) Allow Schemas to be immutable

2010-02-01 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828375#action_12828375 ] Kevin Oliver commented on AVRO-261: --- Gotcha, thanks Doug. Didn't grok your earlier comments

[jira] Updated: (AVRO-361) Specific Compiler fails to handle union with two fixed branches

2010-02-01 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Carey updated AVRO-361: - Attachment: AVRO-361.patch This patch fixes this issue, and additionally checks for named types with confl

[jira] Updated: (AVRO-361) Specific Compiler fails to handle union with two fixed branches

2010-02-01 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Carey updated AVRO-361: - Status: Patch Available (was: Open) > Specific Compiler fails to handle union with two fixed branches > --

[jira] Commented: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828434#action_12828434 ] Scott Carey commented on AVRO-387: -- bq. Here's a patch that adds a new interface, IndexedRec

[jira] Updated: (AVRO-383) Optimizing ResolvingDecoder for default values

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-383: - Summary: Optimizing ResolvingDecoder for default values (was: Optiminzing ResolvingDecoder

[jira] Updated: (AVRO-383) Optimizing ResolvingDecoder for default values

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-383: - Resolution: Fixed Status: Resolved (was: Patch Available) Committed revision 90551

[jira] Updated: (AVRO-389) ResolvingDecoder does not resolve enum well

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-389: - Resolution: Fixed Status: Resolved (was: Patch Available) Committed revision 90551

[jira] Updated: (AVRO-390) ResolvingDecoder does not handle default values for records well

2010-02-01 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-390: - Resolution: Fixed Status: Resolved (was: Patch Available) Committed revision 90552

[jira] Commented: (AVRO-387) hashCode throws a NullPointerException when unions are uninitialized

2010-02-01 Thread Philip Zeyliger (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828500#action_12828500 ] Philip Zeyliger commented on AVRO-387: -- +1 to the "2010-02-01 07:42 PM" patch. The newe

[jira] Updated: (AVRO-361) Specific Compiler fails to handle union with two fixed branches

2010-02-01 Thread Philip Zeyliger (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Zeyliger updated AVRO-361: - Resolution: Fixed Assignee: Scott Carey Hadoop Flags: [Reviewed] Status: Res

[jira] Commented: (AVRO-321) Run Java RPC interop tests again

2010-02-01 Thread Philip Zeyliger (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828508#action_12828508 ] Philip Zeyliger commented on AVRO-321: -- Looks good overall. The proof will be when we a