[jira] Created: (AVRO-257) Dead code removal

2009-12-15 Thread Kevin Oliver (JIRA)
Dead code removal - Key: AVRO-257 URL: https://issues.apache.org/jira/browse/AVRO-257 Project: Avro Issue Type: Bug Components: java Reporter: Kevin Oliver Priority: Trivial Fix

[jira] Updated: (AVRO-257) Dead code removal

2009-12-15 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-257: -- Status: Patch Available (was: Open) > Dead code removal > - > > Key: AVR

[jira] Updated: (AVRO-257) Dead code removal

2009-12-15 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-257: -- Attachment: AVRO-257.patch This also fixes some unnecessary casting by using Class and also an used Supp

[jira] Commented: (AVRO-257) Dead code removal

2009-12-15 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791003#action_12791003 ] Kevin Oliver commented on AVRO-257: --- Yes, datum can definitely be null (I just made the cha

[jira] Commented: (AVRO-257) Dead code removal

2009-12-15 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791013#action_12791013 ] Kevin Oliver commented on AVRO-257: --- Yep. Doug, you beat me to the punch by a couple of min

[jira] Created: (AVRO-259) GenericData.Array should fail fast when constructed with a null Schema

2009-12-18 Thread Kevin Oliver (JIRA)
GenericData.Array should fail fast when constructed with a null Schema -- Key: AVRO-259 URL: https://issues.apache.org/jira/browse/AVRO-259 Project: Avro Issue Type: Bug

[jira] Commented: (AVRO-259) GenericData.Array should fail fast when constructed with a null Schema

2009-12-18 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792534#action_12792534 ] Kevin Oliver commented on AVRO-259: --- Patch coming that includes a testcase. The patch also

[jira] Updated: (AVRO-259) GenericData.Array should fail fast when constructed with a null Schema

2009-12-18 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-259: -- Attachment: AVRO-259.patch > GenericData.Array should fail fast when constructed with a null Schema > ---

[jira] Updated: (AVRO-259) GenericData.Array should fail fast when constructed with a null Schema

2009-12-18 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-259: -- Status: Patch Available (was: Open) > GenericData.Array should fail fast when constructed with a null Sc

[jira] Created: (AVRO-260) upgrade to current Jackson release (again)

2009-12-18 Thread Kevin Oliver (JIRA)
upgrade to current Jackson release (again) -- Key: AVRO-260 URL: https://issues.apache.org/jira/browse/AVRO-260 Project: Avro Issue Type: Improvement Components: java Reporter: Ke

[jira] Commented: (AVRO-260) upgrade to current Jackson release (again)

2009-12-18 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792542#action_12792542 ] Kevin Oliver commented on AVRO-260: --- The Jackson library has been upgraded to 1.3.2. Avro i

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

2009-12-18 Thread Kevin Oliver (JIRA)
Allow Schemas to be immutable - Key: AVRO-261 URL: https://issues.apache.org/jira/browse/AVRO-261 Project: Avro Issue Type: New Feature Components: java Reporter: Kevin Oliver Pri

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

2009-12-18 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792583#action_12792583 ] Kevin Oliver commented on AVRO-261: --- I can think of 2 approaches to take here: 1) Add a boo

[jira] Commented: (AVRO-278) use array instead of map to implement generic records

2010-01-04 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796480#action_12796480 ] Kevin Oliver commented on AVRO-278: --- Would records written using the previous HashMap versi

[jira] Commented: (AVRO-259) GenericData.Array should fail fast when constructed with a null Schema

2010-01-08 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798237#action_12798237 ] Kevin Oliver commented on AVRO-259: --- Anything I can do to help this patch along? Was my ini

[jira] Commented: (AVRO-315) Performance improvements to BinaryDecoder

2010-01-13 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799847#action_12799847 ] Kevin Oliver commented on AVRO-315: --- This should be nice. We've seen readLong() take up qui

[jira] Created: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist

2010-01-19 Thread Kevin Oliver (JIRA)
NPE on GenericData.Record.get(String) for a field that doesn't exist Key: AVRO-350 URL: https://issues.apache.org/jira/browse/AVRO-350 Project: Avro Issue Type: Sub-task

[jira] Updated: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist

2010-01-19 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-350: -- Attachment: AVRO-350.patch > NPE on GenericData.Record.get(String) for a field that doesn't exist > -

[jira] Updated: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist

2010-01-19 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-350: -- Status: Patch Available (was: Open) Here is a patch and testcase. > NPE on GenericData.Record.get(Strin

[jira] Commented: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist

2010-01-19 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802418#action_12802418 ] Kevin Oliver commented on AVRO-350: --- There is a tradeoff with isSet(). If you don't know if

[jira] Created: (AVRO-354) Performance improvement to BinaryDecoder.readInt()

2010-01-19 Thread Kevin Oliver (JIRA)
Performance improvement to BinaryDecoder.readInt() -- Key: AVRO-354 URL: https://issues.apache.org/jira/browse/AVRO-354 Project: Avro Issue Type: Improvement Components: java Affe

[jira] Updated: (AVRO-354) Performance improvement to BinaryDecoder.readInt()

2010-01-19 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-354: -- Status: Patch Available (was: Open) > Performance improvement to BinaryDecoder.readInt() > -

[jira] Updated: (AVRO-354) Performance improvement to BinaryDecoder.readInt()

2010-01-19 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-354: -- Attachment: AVRO-354.patch AVRO-354-results.csv Here is the patch to BinaryDecoder as wel

[jira] Created: (AVRO-355) io.Perf test harness uses different random number seeds for each run

2010-01-19 Thread Kevin Oliver (JIRA)
io.Perf test harness uses different random number seeds for each run Key: AVRO-355 URL: https://issues.apache.org/jira/browse/AVRO-355 Project: Avro Issue Type: Bug

[jira] Commented: (AVRO-355) io.Perf test harness uses different random number seeds for each run

2010-01-19 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802490#action_12802490 ] Kevin Oliver commented on AVRO-355: --- One proposal is to fix the seed to a constant for all

[jira] Updated: (AVRO-355) io.Perf test harness uses different random number seeds for each run

2010-01-20 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-355: -- Status: Patch Available (was: Open) > io.Perf test harness uses different random number seeds for each r

[jira] Updated: (AVRO-355) io.Perf test harness uses different random number seeds for each run

2010-01-20 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-355: -- Attachment: AVRO-355.patch Here is a patch that uses a fixed seed for all the random numbers. > io.Perf

[jira] Commented: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist

2010-01-20 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802911#action_12802911 ] Kevin Oliver commented on AVRO-350: --- Actually, thinking about this a bit more. isSet() seem

[jira] Commented: (AVRO-354) Performance improvement to BinaryDecoder.readInt()

2010-01-22 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803807#action_12803807 ] Kevin Oliver commented on AVRO-354: --- Doug, what OS and VM are you running on? > Performan

[jira] Commented: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist

2010-01-27 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805599#action_12805599 ] Kevin Oliver commented on AVRO-350: --- Any thoughts on an approach here for a patch? Anothe

[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 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] Commented: (AVRO-393) byte[] constructor for Utf8 desired

2010-02-03 Thread Kevin Oliver (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829319#action_12829319 ] Kevin Oliver commented on AVRO-393: --- While its not obvious, the work around is to use somet