Accessing Cassandra data from Spark Shell

2016-05-09 Thread Cassa L
Hi, Has anyone tried accessing Cassandra data using SparkShell? How do you do it? Can you use HiveContext for Cassandra data? I'm using community version of Cassandra-3.0 Thanks, LCassa

Re: Accessing Cassandra data from Spark Shell

2016-05-09 Thread Ted Yu
bq. Can you use HiveContext for Cassandra data? Most likely the above cannot be done. On Mon, May 9, 2016 at 9:08 PM, Cassa L wrote: > Hi, > Has anyone tried accessing Cassandra data using SparkShell? How do you do > it? Can you use HiveContext for Cassandra data? I'm using community version >

Re: Accessing Cassandra data from Spark Shell

2016-05-09 Thread Ben Slater
You can use SparkShell to access Cassandra via the Spark Cassandra connector. The getting started article on our support page will probably give you a good steer to get started even if you’re not using Instaclustr: https://support.instaclustr.com/hc/en-us/articles/213097877-Getting-Started-with-Ins

RE: Accessing Cassandra data from Spark Shell

2016-05-10 Thread Mohammed Guller
th Spark<http://www.amazon.com/Big-Data-Analytics-Spark-Practitioners/dp/1484209656/> From: Ben Slater [mailto:ben.sla...@instaclustr.com] Sent: Monday, May 9, 2016 9:28 PM To: user@cassandra.apache.org; user Subject: Re: Accessing Cassandra data from Spark Shell You can use SparkShell to access Cas

Re: Accessing Cassandra data from Spark Shell

2016-05-17 Thread Cassa L
ster it as a temporary table, if you would prefer to use > SQL/HiveQL. > > > > Mohammed > > Author: Big Data Analytics with Spark > <http://www.amazon.com/Big-Data-Analytics-Spark-Practitioners/dp/1484209656/> > > > > *From:* Ben Slater [mailto:ben.s

Re: Accessing Cassandra data from Spark Shell

2016-05-17 Thread Ben Slater
gt;> >> >> >> From this point onward, you have complete access to the DataFrame API. >> You can even register it as a temporary table, if you would prefer to use >> SQL/HiveQL. >> >> >> >> Mohammed >> >> Author: Big Data Analytics

RE: Accessing Cassandra data from Spark Shell

2016-05-18 Thread Mohammed Guller
en.sla...@instaclustr.com] Sent: Tuesday, May 17, 2016 11:00 PM To: user@cassandra.apache.org; Mohammed Guller Cc: user Subject: Re: Accessing Cassandra data from Spark Shell It definitely should be possible for 1.5.2 (I have used it with spark-shell and cassandra connector with 1.4.x). The main trick

Re: Accessing Cassandra data from Spark Shell

2016-05-18 Thread Cassa L
m] > *Sent:* Tuesday, May 17, 2016 11:00 PM > *To:* user@cassandra.apache.org; Mohammed Guller > *Cc:* user > > *Subject:* Re: Accessing Cassandra data from Spark Shell > > > > It definitely should be possible for 1.5.2 (I have used it with > spark-shell and cassandra co