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

Unable to connect cassandra in localhost #118

Open
giaosudau opened this issue May 16, 2016 · 1 comment
Open

Unable to connect cassandra in localhost #118

giaosudau opened this issue May 16, 2016 · 1 comment

Comments

@giaosudau
Copy link

192.168.1.90:9042 -> I don't know where it come from because my cassandra is running in localhost and spark-job-server too.

BTW: If I cached a DataFrame in 1 job call CachedJob when this job finished is cached still available for the others job use?

  "result": {
    "message": "com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.1.90:9042 (com.datastax.driver.core.exceptions.TransportException: [/192.168.1.90] Cannot connect))",
    "errorClass": "java.lang.RuntimeException",
    "stack": [
      "com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:231)",
      "com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)",
      "com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1414)",
      "com.datastax.driver.core.Cluster.getMetadata(Cluster.java:393)",
@FK7
Copy link

FK7 commented May 16, 2016

@giaosudau Could you let me know how do you include spark-cassandra-connector jar to Spark job server.

I am creating fat jar to do the same but getting #119.

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

2 participants