Manually add C* 3 driver

Note: please leave bug reports and feature requests on

Manually add C* 3 driver

Postby cbha » Tue Dec 15, 2015 8:32 am

Hi there,

I'm trying to add the C* 3 java driver from to DBeaver. Any hints on the settings I have to use to get this working?
From what I understand this is the way to use DBeaver with C* 3 until the driver is stable, right?

Thanks!
cbha
 
Posts: 3
Joined: Tue Dec 15, 2015 8:30 am

Re: Manually add C* 3 driver

Postby Serge » Tue Dec 15, 2015 3:03 pm

Hi,

Sorry for my ignorance, what is C* 3?
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Manually add C* 3 driver

Postby cbha » Wed Dec 16, 2015 8:23 am

Pardon me. It's Cassandra 3.
cbha
 
Posts: 3
Joined: Tue Dec 15, 2015 8:30 am

Re: Manually add C* 3 driver

Postby Serge » Wed Dec 16, 2015 2:44 pm

It is not possible to change Cassandra driver from DBeaver UI. In contrast with JDBC drivers (which have standard API and standard ways to load/link them) Cassandra java driver is used directly. The only way to update it is to change Cassandra java driver version in DBeaver sources and recompile (sometimes additional code modification may be required because Datastax guys don't really care about backward code compatibility).
Once Cassandra 3 driver will become stable (currently only alpha versions are available) I'll update it in standard DBeaver distribution.
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Manually add C* 3 driver

Postby cbha » Thu Dec 17, 2015 7:36 am

Okay, thank you. We've encountered other incompatibilites with Cassandra 3, so for now we're using 2.2, which is working fine with DBeaver.
cbha
 
Posts: 3
Joined: Tue Dec 15, 2015 8:30 am

Re: Manually add C* 3 driver

Postby scnt » Wed Jan 20, 2016 10:19 am

Hi, I've been trying to use DBeaver with Cassandra 3. However, a difference between Cassandra 2 and 3 is that some system tables have been moved to a new keyspace (see also https://issues.apache.org/jira/browse/CASSANDRA-6717). This means that DBeaver can't connect because it's trying to access a non-existing table. I wanted to modify the Cassandra driver by checking out https://svn.jkiss.org/dev/jkiss/trunk/jdbc/cassandra/ but it's asking for a username and password. Is it possible for me to edit the source code of the driver? Or is my only option to wait for an official release?

Thanks!
scnt
 
Posts: 2
Joined: Wed Jan 20, 2016 10:14 am

Re: Manually add C* 3 driver

Postby Serge » Thu Jan 21, 2016 8:11 am

svn.jkiss.org is no longer available. We moved to GitHub a couple of months ago: https://github.com/serge-rider/dbeaver
However Cassandra driver is not open source for now.
I just noticed that DataStax has released RC version of C3 Java driver. I'll update driver in one of the next version.

BTW could you create a feature request on our GitHub issue tracker?
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Manually add C* 3 driver

Postby scnt » Thu Jan 21, 2016 8:56 am

Thanks for your response, I've made an issue in github: https://github.com/serge-rider/dbeaver/issues/167
scnt
 
Posts: 2
Joined: Wed Jan 20, 2016 10:14 am


Return to Support



Who is online

Users browsing this forum: No registered users and 5 guests