[jira] [Created] (AVRO-1424) ValidatingDecoder hangs on large schema

2014-01-02 Thread Ramana Suvarapu (JIRA)
Ramana Suvarapu created AVRO-1424: - Summary: ValidatingDecoder hangs on large schema Key: AVRO-1424 URL: https://issues.apache.org/jira/browse/AVRO-1424 Project: Avro Issue Type: Bug

[jira] [Updated] (AVRO-1424) ValidatingDecoder hangs on large schema

2014-01-02 Thread Ramana Suvarapu (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramana Suvarapu updated AVRO-1424: -- Attachment: model.avsc ValidatingDecoder hangs on large schema

[jira] [Assigned] (AVRO-1424) ValidatingDecoder hangs on large schema

2014-01-02 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. reassigned AVRO-1424: - Assignee: Thiruvalluvan M. G. ValidatingDecoder hangs on large schema

[jira] [Updated] (AVRO-1424) ValidatingDecoder hangs on large schema

2014-01-02 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-1424: -- Attachment: AVRO-1424.patch ValidatingDecoder hangs on large schema

[jira] [Commented] (AVRO-1424) ValidatingDecoder hangs on large schema

2014-01-02 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13860469#comment-13860469 ] Thiruvalluvan M. G. commented on AVRO-1424: --- The attached patch addresses the

[jira] [Updated] (AVRO-1424) ValidatingDecoder hangs on large schema

2014-01-02 Thread Thiruvalluvan M. G. (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-1424: -- Status: Patch Available (was: Open) ValidatingDecoder hangs on large schema

propose change to java Schema.computeHash implementation to avoid unnessary object allocation/hashcode calculation

2014-01-02 Thread Liu, Tie
Hi, In current Schma.java we have following implementation: public final int hashCode() { if (hashCode == NO_HASHCODE) hashCode = computeHash(); return hashCode; } int computeHash() { return getType().hashCode() + props.hashCode(); } While hashCode is doing the checking