RE: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
I filed a JIRA https://issues.apache.org/jira/browse/CASSANDRA-11741 to track this. From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: 2016年5月10日 12:47 To: user@cassandra.apache.org Subject: Re: A question to 'paging' support in DataStax java driver I guess it's technically possible but then

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
I guess it's technically possible but then we'll need to update the binary protocol. Just create a JIRA and ask for this feature On Tue, May 10, 2016 at 5:00 AM, Lu, Boying wrote: > Thanks very much. > > > > I understand that the data needs to be read from the DB to get the

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:

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

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: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
Thanks very much. I understand that the data needs to be read from the DB to get the next ‘PagingState’. But is it possible not to return those data to the client side, just returning the ‘PagingState’? I.e. the data is read on the server side, but not return to client side, this can save

Re: Data platform support

2016-05-09 Thread Denise Rogers
It really depends how close you want to stay to the most current versions of open source community products. Cloudera has tended to build more products that requires their distribution to not be as current with open source product versions. Regards, Denise Sent from mi iPhone > On May 9,

Data platform support

2016-05-09 Thread Srini Sydney
Hi guys We are thinking of using one the 3 big data platforms i.e hortonworks , mapr or cloudera . Will use hadoop ,hive , zookeeper, and spark in these platforms. Which platform would be better suited for cassandra ? - sreeni

Cassandra 3.0.6 Release?

2016-05-09 Thread Drew Kutcharian
Hi, What’s the 3.0.6 release date? Seems like the code has been frozen for a few days now. I ask because I want to install Cassandra on Ubuntu 16.04 and CASSANDRA-10853 is blocking it. Best, Drew

Re: SS Tables Files Streaming

2016-05-09 Thread Ben Bromhead
Note that incremental repair strategies (2.1+) run anti-compaction against sstables in the range being repaired, so this will prevent overstreaming based on the ranges in the repair session. On Mon, 9 May 2016 at 10:31 Ben Bromhead wrote: > Yup, with repair and

Re: SS Tables Files Streaming

2016-05-09 Thread Ben Bromhead
Yup, with repair and particularly bootstrap is there is a decent amount of "over streaming" of data due to the fact it's just sending an sstable. On Fri, 6 May 2016 at 14:49 Anubhav Kale wrote: > Does repair really send SS Table files as is ? Wouldn’t data for tokens

Re: CAS operation does not return value on failure

2016-05-09 Thread horschi
Update: It was actually the driver update (from 2.1.9 to 3.0.1) that solved the issue. I reverted by C* Server back to 2.2 and my test is still ok. On Mon, May 9, 2016 at 1:28 PM, horschi wrote: > I just retried with Cassandra 3.0.5 and it performs much better. Not a > single

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
In a truly consistent world (should I say "snapshot isolation" world instead), re-reading the same page should yield the same results no matter how many new inserts have occurred since the last page read. Caching previous page at app level can be a solution but not viable if the amount of data is

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Bhuvan Rawal
Hi Doan, What does it have to do being eventual consistency? Lets assume a scenario with complete consistency and we are at page X, and at the same time some inserts/updates happened at page X-2 and we jumped to that. User will see inconsistent page in that case as well, right? Also in such cases

Re: CAS operation does not return value on failure

2016-05-09 Thread horschi
I just retried with Cassandra 3.0.5 and it performs much better. Not a single of these illegal results. I guess my recommendation for anyone using CAS is: Upgrade to >= 3.x :-) On Wed, May 4, 2016 at 5:46 PM, horschi wrote: > Hi, > > I am doing some testing on CAS operations

Re: cqlsh problem

2016-05-09 Thread kurt Greaves
Don't be fooled, despite saying tcp6 and :::*, it still listens on IPv4. As far as I'm aware this happens on all 2.1 Cassandra nodes, and may just be an oddity of netstat. It would be unrelated to your connection timeout issues, that's most likely related to firewall/network issues. On 9 May 2016

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
"Is it possible to just return PagingState object without returning data?" --> No Simply because before reading the actual data for each page of N rows, you cannot know at which token value a page of data starts... And it is worst than that, with paging you don't have any isolation. Let's

A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
dHi, All, We are considering to use DataStax java driver in our codes. One important feature provided by the driver we want to use is 'paging'. But according to the https://datastax.github.io/java-driver/3.0.0/manual/paging/, it seems that we can't jump between pages. Is it possible to just

Re: cqlsh problem

2016-05-09 Thread joseph gao
It doesn't work ,still using ipv6 [image: 内嵌图片 1] And I already set [image: 内嵌图片 2] Now I'm using 4.1.1 using 9160 port instead of 5.x.x。 Hopefully this could be resolved, Thanks! 2016-03-30 22:13 GMT+08:00 Alain RODRIGUEZ : > Hi Joseph, > > why cassandra using tcp6 for

Re: CAS operation does not return value on failure

2016-05-09 Thread horschi
Hi Jack, sorry to keep you busy :-) There definitely is a column named "value" in the table. And most of the time this codepath works fine, even when my CAS update fails. But in very rare cases I get a ResultSet that contains applied=false but does not contain any value column. I just ran my

Re: DSE Search : NPE when executing Solr CQL queries using solr_query

2016-05-09 Thread Joseph Tech
hi, I have posted this as the latest "answer" (though it isn't really) with all details on stackoverflow http://stackoverflow.com/questions/27966440/normal-query-on-cassandra-using-datastax-enterprise-works-but-not-solr-query . Hope someone from DS can help. Thanks, Joseph On Tue, Apr 12, 2016

Re: [C*3.0.3]lucene indexes not deleted and nodetool repair makes DC unavailable

2016-05-09 Thread Siddharth Verma
Hi Eduardo, Thanks for your help on stratio index problem As per your questions. 1. We ran nodetool repair on one box(no range repair), but due to it, entire DC was non responsive. It was up, but we were not able to connect. 2. RF is 3, and we have 2 DCs each with 3 nodes. 3. Consistency level