-
1. Re: Cassandra Driver
rareddy Feb 24, 2014 5:44 PM (in response to ichanjasper)Ivan,
My be we should wait until 2.0.0 Final? I see there were few other updates Cassandra needs too. You can log enhancement request for it. But I doubt we can get to it in 8.7.
Ramesh..
-
2. Re: Cassandra Driver
radek.koubsky Apr 1, 2014 5:01 PM (in response to ichanjasper)1 of 1 people found this helpfulThanks for asking,
1.x and 2.x versions are incompatible, for example:
1.x supports only Cluster.shutdown() method called in CassandraConnectionImpl.close()
2.x supports only Cluster.close(), that uses closeAsync().get(). See doc.
If version is changed, the first implementation won't work and has to be changed too.
Unfortunately, driver versions work with different versions of database, http://www.datastax.com/documentation/developer/java-driver/2.0/common/drivers/introduction/driverDependencies_r.html
I have made some changes in cassandra connetor. User can specify login and password to use in cassandra PasswordAuthenticator, port to use to connect to the cassandra host and address property can contain multiple addresses separated by semicolon to connect to all nodes in cluster. I am almost done, I just need to do some tests.
If you add 2.x version to the next release, I can change that code. Thanks.
Radek
-
3. Re: Cassandra Driver
ichanjasper Apr 1, 2014 5:20 PM (in response to radek.koubsky)Thank you so much, Radek. And yes, we will love to upgrade to version 2.X in the next release if possible.
-
4. Re: Cassandra Driver
rareddy Apr 2, 2014 8:43 AM (in response to ichanjasper)Ivan,
Please log an enhancement request for this.
Ramesh..
-
5. Re: Cassandra Driver
shawkins Apr 7, 2014 1:40 PM (in response to rareddy)This was logged as [TEIID-2917] Cassandra: update to cassandra driver to version 2.X - JBoss Issue Tracker
It looks like 2.x is now generally available and should be backwards compatible, so this would completely replace the 1.x, but may require versioning logic to enable newer features.
-
6. Re: Cassandra Driver
sa_jafarian Dec 9, 2014 6:11 AM (in response to ichanjasper)hi
my server is jboss as 7.2.0 and teiid 8.7.0
how to connected cassandra 2.0.7 data stax from teiid designer
because when i use cassandra recource adapter dont add driver