You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ben Chan (JIRA)" <ji...@apache.org> on 2014/04/07 22:47:17 UTC
[jira] [Created] (CASSANDRA-6991) cql3 grammar generation can fail
due to ANTLR timeout.
Ben Chan created CASSANDRA-6991:
-----------------------------------
Summary: cql3 grammar generation can fail due to ANTLR timeout.
Key: CASSANDRA-6991
URL: https://issues.apache.org/jira/browse/CASSANDRA-6991
Project: Cassandra
Issue Type: Improvement
Reporter: Ben Chan
Assignee: Ben Chan
Priority: Trivial
Attachments: xconversiontimeout.patch
Because of the technique used in {{Cql.g}} to tokenize both case-insensitive keywords and case-sensitive identifiers, builds can fail randomly for computers at some arbitrary speed boundary. This is because ANTLR has a feature where it times out if DFA generation takes longer than a preset amount of time. An easy workaround is to use the {{-Xconversiontimeout}} option (patch attached).
--
This message was sent by Atlassian JIRA
(v6.2#6252)