RE: Can cqlsh COPY command be run through

2015-04-07 Thread Tiwari, Tarun
Thanks. That was kind of a logical guess is was having on it. Thanks for confirming. From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: Wednesday, April 08, 2015 1:05 AM To: user@cassandra.apache.org Subject: Re: Can cqlsh COPY command be run through Short answer is no. Whenever you

Re: Can cqlsh COPY command be run through

2015-04-07 Thread DuyHai Doan
Short answer is no. Whenever you access the session object of the Java driver directly (using withSessionDo{...}), you bypass the data locality optimisation made by the connector On Sun, Apr 5, 2015 at 9:53 AM, Tiwari, Tarun wrote: > Hi, > > > > I am looking for, if the CQLSH COPY command be

Can cqlsh COPY command be run through

2015-04-05 Thread Tiwari, Tarun
Hi, I am looking for, if the CQLSH COPY command be run using the spark scala program. Does it benefit from the parallelism achieved by spark. I am doing something like below: val conf = new SparkConf(true).setMaster("spark://Master-Host:7077") .setAppName("Load Cs Table using COPY TO") lazy val