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.