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)

Reply via email to