Questions tagged [cassandra-jdbc]

A JDBC-compliant driver for Cassandra using CQL.

A JDBC-compliant driver for Cassandra using CQL.

50 questions
1
vote
1 answer

Need javax.jdo.option.ConnectionURL for cassandra

Are the below properties in hive-site.xml correct for Hive access to cassandra?? (I HAVE COPIED ENTIRE HIVE-DEFAULT.XML CONTENT BUT HAVE CHANGED ONLY THE BELOW PROPERTIES) javax.jdo.option.ConnectionURL :…
1
vote
2 answers

How to access cassandra 2.0.3 from hive 0.9.0

I have installed cassandra 2.0.3 and hive 0.9.0. I have followed the below link for hive support for cassandra. https://github.com/milliondreams/hive But it says "Cassandra Hive handler working with Cassandra 1.2.6 and hive 0.9" and my cassandra…
user2081818
  • 309
  • 2
  • 10
1
vote
1 answer

Cassandra Java Driver With Kerberos Security

Am trying to connect from Datastax java driver to cassandra secure cluster with kerberos enabled. Sample connection code: cluster = Cluster.builder().addContactPoint(node).withCredentials("username","password").build(); Metadata metadata =…
0
votes
2 answers

How do I configure Talend Open Studio to connect to a Cassandra cluster?

I referred this Documentation https://www.javatpoint.com/talend-jdbc-connection For how to config DB connection on Talend. In the documentation mentioned, MySQL JDBC Connector is used to connect the MySQL DB to Talend. In my case, I need to connect…
0
votes
1 answer

Driver for cassandra jdbc

What is the driver for this dependency? Like for instance in postgres we have org.postgresql.Driver, similarly I am looking for cassandra org.apache-extras.cassandra-jdbc
Minisha
  • 2,117
  • 2
  • 25
  • 56
0
votes
0 answers

Cassandra read timeout exception while insert

I have a 16 node cassandra cluster and I am inserting 50.000 rows, pretty much in parallel, from an external tool(which is installed in every node) in every cassandra node with Simba Cassandra JDBC Driver. While the insertion takes place,…
Des0lat0r
  • 482
  • 3
  • 18
0
votes
0 answers

Connect Beam JDBC IO with Cassandra

Unable to connect Cassandra using jdbc driver getting error java.sql.SQLException: Cannot create PoolableConnectionFactory (isValid() returned false) Apache beam JDBC IO not working with Casandra I tried with working cassandra-jdbc-1.2.5.jar Here my…
0
votes
0 answers

Get full qualifying column name in Cassandra

Below is my sample database schema in Cassandra. CREATE TYPE TypeAddress( Column1 INT, Column2 INT, Column3 INT ); CREATE TABLE TablePersonInfo( ColumnA INT, ColumnB INT, TypeAddress_ FROZEN ); CREATE KeySpace…
0
votes
1 answer

Spring Data Cassandra - Retrieve Rows Affected

Is it possible get the rows affected in the Update Statement? public void removeCountry(String id,int version) throws VersionException { log.debug("Update row"+id); try { Update update = QueryBuilder.update("country"); …
jrey
  • 2,163
  • 1
  • 32
  • 48
0
votes
0 answers

The library org.apache.Cassandra.thrift.clock cannot be found

I've searched for the jar files in maven and couple of other websites but I couldn't find the jar file nor the maven dependency. Please help me out.
0
votes
1 answer

RazorSQL - Not able to connect to Cassandra DB

I am trying to connect to CassandraDB through RazorSQL. I am new to RazorSQL. Steps followed: In the topmenu --> Connections --> Add connection profile --> Entering all the details in the popmenu which appears (driver location, host, port…
0
votes
1 answer

Unexpected connection timeout in datastax cassandra -com.datastax.shaded.netty.channel.ConnectTimeoutException

We are getting connection in Session object at very first time application starts . Our scheduler keeps inserting data into Cassandra using that . but some point of time , its getting connection timeout and then its reconnecting with Cassandra and…
0
votes
1 answer

Cassandra Read Timeouts in 5 minute interval consistently?

Can anyone explain why there could be read timeouts happening in my Cassandra cluster every 4-5 minute interval. I could almost see this consistently and be able to reproduce this consistently. The read throughput was kept at 1 request per second,…
0
votes
1 answer

Cassandra Acessor annotated interface for insert statement

I am developing full fledged application having cassandra 2.1 as back-end and writing API with latest driver. Especially wanted to use Accessor annotated interface for almost all CRUD operations. But, as per the doc only select and update works with…
Nageswara Rao
  • 954
  • 1
  • 10
  • 32
0
votes
2 answers

Datastax Cassandra bulkloader

I am attempting to use the JMX BulkLoader to ETL data into Cassandra from a remote node onto the cluster https://github.com/PatrickCallaghan/datastax-analytics-example/blob/master/src/main/java/com/datastax/jmxloader/JmxBulkLoader.java However after…
user2780187
  • 677
  • 7
  • 16