Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spark-cassandra-connector can't connect from spark docker cluster #20

Open
jeremycod opened this issue Feb 15, 2017 · 2 comments
Open

Comments

@jeremycod
Copy link

jeremycod commented Feb 15, 2017

Hi,
I'm trying to run spark job from my scala application in this cluster initialized by docker-compose and it immediately disconnects from Cassandra cluster. It works fine if I run spark in local mode. My cassandra is on the Amazon EC2 instance and it's available from my local machine where this cluster is also running.

Could this be related to the network configuration of the cluster? Logs I get in my applicaiton looks like this:

 INFO	[2017-02-14 20:33:32,529] [DatabaseScheduler_Worker-1] connector.cql.CassandraConnector (Logging.scala:35)     	Connected to Cassandra cluster: Test Cluster
 INFO	[2017-02-14 20:33:40,607] [pool-79-thread-1] connector.cql.CassandraConnector (Logging.scala:35)     	Disconnected from Cassandra cluster: Test Cluster
@Privox
Copy link

Privox commented Aug 31, 2018

Same constellation and the same issue here. Anyone had success with this issue?

@OneCricketeer
Copy link

Please show your cassandra configs and compose file.

Or try seeing if you can add Cassandra to your compose file for local debugging without relying on AWS networking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants