ooyala / spark-jobserver

REST job server for Spark. Note that this is *not* the mainline open source version. For that, go to https://github.com/spark-jobserver/spark-jobserver. This fork now serves as a semi-private repo for Ooyala.
Other
344 stars 135 forks source link

Unable to connect cassandra in localhost #118

Open giaosudau opened 8 years ago

giaosudau commented 8 years ago

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 commented 8 years ago

@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.