cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Cassandra connection from ADB

Dinu2
New Contributor III

Hi , Could anyone please help to know the steps for connecting Cassandra from Azure Databricks? I have followed the steps in https://learn.microsoft.com/en-us/azure/databricks/_static/notebooks/azure/cassandra-azure.html But I am getting below error.

IOException: Failed to open native connection to Cassandra at {<<hostname>>:<<portno>>} :: Could not reach any contact point, make sure you've provided valid addresses (showing first 1 nodes, use getAllErrors() for more): Node(endPoint=/<<hostname>>:<<portno>>, hostId=null, hashCode=5079251a): [com.datastax.oss.driver.api.core.auth.AuthenticationException: Authentication error on node /<<hostname>>:<<portno>>: Node /<<hostname>>:<<portno>> requires authentication (com.datastax.bdp.cassandra.auth.DseAuthenticator), but no authenticator configured]

Caused by: AllNodesFailedException: Could not reach any contact point, make sure you've provided valid addresses (showing first 1 nodes, use getAllErrors() for more): Node(endPoint=/<<hostname>>:<<portno>>, hostId=null, hashCode=5079251a): [com.datastax.oss.driver.api.core.auth.AuthenticationException: Authentication error on node /<<hostname>>:<<portno>>: Node /<<hostname>>:<<portno>> requires authentication (com.datastax.bdp.cassandra.auth.DseAuthenticator), but no authenticator configured]

Thank You,

DSR

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @dinu​, The following notebook shows how to connect Cassandra with Databricks.

Kaniz
Community Manager
Community Manager

Hi @Dinu Sukumara​, We haven’t heard from you on the last response from me, and I was checking back to see if my suggestions helped you.

Or else, If you have any solution, please do share that with the community as it can be helpful to others.

Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.