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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641473#comment-13641473 ] Scott Carey commented on AVRO-1282: --- UnsafeUtils is a public class with public static

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

2013-04-25 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach updated AVRO-1279: - Attachment: AVRO-1279.1.patch.txt Avro-C: file_read_header() segfaults when avro.codec is

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

2013-04-25 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach updated AVRO-1279: - Status: Patch Available (was: Open) Avro-C: file_read_header() segfaults when avro.codec is

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641520#comment-13641520 ] Scott Carey commented on AVRO-1282: --- Perf.java is also not working for at least two

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641555#comment-13641555 ] Leo Romanoff commented on AVRO-1282: Hmm. At the moment we use UnsafeUtil only

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641568#comment-13641568 ] Scott Carey commented on AVRO-1282: --- First try with the -U parameter to force it to

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641569#comment-13641569 ] Scott Carey commented on AVRO-1282: --- The below appears to be a bug that assumes every

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641696#comment-13641696 ] Leo Romanoff commented on AVRO-1282: Scott, your Maven advice has helped! I can

[jira] [Updated] (AVRO-1307) Add an avro-tool to extract samples from avro files

2013-04-25 Thread Vincenz Priesnitz (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincenz Priesnitz updated AVRO-1307: Attachment: (was: AVRO-1307-added UnitTests.patch) Add an avro-tool to extract

[jira] [Updated] (AVRO-1307) Add an avro-tool to extract samples from avro files

2013-04-25 Thread Vincenz Priesnitz (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincenz Priesnitz updated AVRO-1307: Attachment: AVRO-1307-addedUnitTests-fixed.patch I added the Junit tests.

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Carey updated AVRO-1282: -- Attachment: AVRO-1282-s1.patch This patch fixes a few bugs, adds tests around the Unsafe functionality,

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641768#comment-13641768 ] Leo Romanoff commented on AVRO-1282: I think I fixed the issues with IPC tests. They

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641789#comment-13641789 ] Leo Romanoff commented on AVRO-1282: On the bug side, FieldAccessors are no longer

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641792#comment-13641792 ] Leo Romanoff commented on AVRO-1282: I meant this code in ReflectDatumReader: for

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641814#comment-13641814 ] Leo Romanoff commented on AVRO-1282: Perf.java is also not working for at least two

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641962#comment-13641962 ] Scott Carey commented on AVRO-1282: --- I'll have a look at your more recent changes for

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

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642048#comment-13642048 ] Leo Romanoff commented on AVRO-1282: We probably should not cache any accessors for

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Carey updated AVRO-1282: -- Attachment: AVRO-1282-s2.patch Here is my work in progress. It successfully passes all tests and only

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642247#comment-13642247 ] Scott Carey commented on AVRO-1274: --- +1 Yes, looks good! Add a schema

[jira] [Updated] (AVRO-1306) Clarify documentation for hadoop input-avro output-non-avro instructions

2013-04-25 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-1306: --- Assignee: Mina Naguib Clarify documentation for hadoop input-avro output-non-avro instructions

[jira] [Commented] (AVRO-1307) Add an avro-tool to extract samples from avro files

2013-04-25 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642410#comment-13642410 ] Doug Cutting commented on AVRO-1307: Vincenz, this looks great. I'll commit this soon

[jira] [Commented] (AVRO-1306) Clarify documentation for hadoop input-avro output-non-avro instructions

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

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

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642616#comment-13642616 ] Scott Carey commented on AVRO-1282: --- Re: using schema or class as the key: This still