You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Bock (JIRA)" <ji...@apache.org> on 2013/11/21 12:31:37 UTC
[jira] [Created] (CASSANDRA-6387) Prepared statements don't work
with IBM Java
Michael Bock created CASSANDRA-6387:
---------------------------------------
Summary: Prepared statements don't work with IBM Java
Key: CASSANDRA-6387
URL: https://issues.apache.org/jira/browse/CASSANDRA-6387
Project: Cassandra
Issue Type: Bug
Environment: SUSE Linux Enterprise Server 10, SP3. IBM Java 1.6.0 SR 13
Reporter: Michael Bock
Priority: Critical
Fix For: 1.2.11
Starting with version 1.2.10, prepared statements don't work, if running Cassandra with IBM Java.
For every prepared statement excution after a few one, we get the following error:
com.netflix.astyanax.connectionpool.exceptions.BadRequestException: BadRequestException: [host=localhost(127.0.0.1):9160, latency=1(1), attempts=1]InvalidRequestException(why:Prepared query with ID 2077244094 not found (either the query was not prepared on this host (maybe the host has been restarted?) or you have prepared too many queries and it has been evicted from the internal cache))
Astyanax version is 1.56.44.
This error only occurs with IBM Java, with Oracle Java the same code works fine.
We did some investigation about the different Cassandra and JRE versions:
Cassandra 1.2.9: works fine with any JRE-Version
Cassandra 1.2.10, 1.2.111: does not work with IBM Java 1.6/1.7. Works find with Oracle Java 1.6/1.7
Cassandra 2.0.0: works fine with any JRE-Version
Cassandra 2.0.2: does not work with IBM Java 1.6/1.7. Works fine with Oracle Java 1.6/1.7
--
This message was sent by Atlassian JIRA
(v6.1#6144)