cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Chan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6991) cql3 grammar generation can fail due to ANTLR timeout.
Date Mon, 07 Apr 2014 20:47:17 GMT
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)

Mime
View raw message