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
[
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
[
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
[
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
[
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
[
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
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