[jira] [Updated] (AVRO-1614) Always getting a value...

2014-12-02 Thread Niels Basjes (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niels Basjes updated AVRO-1614: --- Attachment: AVRO-1614-20141202-v3.patch Updated the patch: - Fixed a bug (cloning a Builder now clones

[jira] [Updated] (AVRO-1614) Always getting a value...

2014-12-02 Thread Niels Basjes (JIRA)
-20141027-v1.patch, AVRO-1614-20141201-v2.patch, AVRO-1614-20141202-v3.patch Sometimes the Avro structure becomes deeply nested. If in such a scenario you want to be able to set a specific value deep in this tree you want to do this: {code} public void setSomething(String value

Re: Always getting a value...

2014-12-02 Thread Niels Basjes
I uploaded a patch for AVRO-1614 and AVRO-1616 (just an update to the .gitignore). It seems that there is no automatic pickup by Jenkins configured (like with Hadoop and HBase). How do I proceed in getting your feedback on these patches and getting them reviewed and if possible comitted?

[jira] [Commented] (AVRO-1614) Always getting a value...

2014-12-02 Thread Doug Cutting (JIRA)
: java Reporter: Niels Basjes Labels: java Attachments: AVRO-1614-20141027-v1.patch, AVRO-1614-20141201-v2.patch, AVRO-1614-20141202-v3.patch Sometimes the Avro structure becomes deeply nested. If in such a scenario you want to be able to set a specific value deep

[jira] [Deleted] (AVRO-1615) ciao

2014-12-02 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting deleted AVRO-1615: --- ciao Key: AVRO-1615 URL:

Re: avro_generic_value_free function implemetation not defined

2014-12-02 Thread Vikas Saxena
Hi all, Any updates on the nested record thing? Thanks, Vikas On Sun, Nov 30, 2014 at 11:31 AM, Vikas Saxena vikas.saxena.2...@gmail.com wrote: Thanks Doug, I am currently doing the same but the function avro_value_decref does not work as expected for nested records. I am attaching my test

Re: avro_generic_value_free function implemetation not defined

2014-12-02 Thread Mika Ristimaki
Hi Vikas, To my understanding you only need to decref avro_value_t that you allocate with avro_generic_value_new. So you don’t need to decref values that you get from avro_value_get_by_name. You can run your example program with valgrind to verify this. -Mika On 03 Dec 2014, at 02:44, Vikas