Re: How to define SparkContext with Cassandra connection for spark-jobserver?

2015-01-16 Thread Sasi
Thank you Abhishek. The code works. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-define-SparkContext-with-Cassandra-connection-for-spark-jobserver-tp21119p21184.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: How to define SparkContext with Cassandra connection for spark-jobserver?

2015-01-15 Thread abhishek
In the spark job server* bin *folder, you will find* application.conf* file, put context-settings { spark.cassandra.connection.host = ur address } Hope this should work -- View this message in context:

How to define SparkContext with Cassandra connection for spark-jobserver?

2015-01-13 Thread Sasi
Dear All, For our requirement, we need to define a SparkContext with SparkConf which has Cassandra connection details. And this SparkContext need to be shared for subsequent runJobs and through out the application. So, How to define SparkContext with Cassandra connection for spark-jobserver?