Re: Multi DC setup for analytics

2016-03-20 Thread Clint Martin
When you say you have two logical DC both with the same name are you saying that you have two clusters of servers both with the same DC name, nether of which currently talk to each other? IE they are two separate rings? Or do you mean that you have two keyspaces in one cluster? Or? Clint On Mar

Re: Question about SELECT command

2016-03-20 Thread Thouraya TH
Yes, i have tested that, but, i'd like to understand the architecture behind the command SELECT how it works ? it use gossip protocol to get live nodes ? Thank you for explanations. Kind regards. 2016-03-17 17:17 GMT+01:00 Carlos Alonso : > Yes, they could. > > Carlos Alonso | Software Enginee

Re: cqlsh problem

2016-03-20 Thread joseph gao
protocols are all active, like this: Gossip active : true Thrift active : true Native Transport active: true I used all kinds of address: hostname, localhost, 0.0.0.0, 127.0.0.1, localip, publicip, doesn't work most times. But some time it just work fine 2016-03-17 22:28 GMT+08:

Re: Parallel bootstraps in two DCs with NetworkTopologyStrategy

2016-03-20 Thread Alain RODRIGUEZ
This should work indeed. Anyway, you can always try, I believe when you can't add a node, Cassandra will throw an error. You can then do some cleaning, remove the joining node from the ring if it is still there after the failure and clear data "rm -rf /path/to/cassandra/*" on the joining node tha

Re: Compaction Filter in Cassandra

2016-03-20 Thread Robert Coli
On Fri, Mar 11, 2016 at 10:05 PM, Dikang Gu wrote: > RocksDB has the feature called "Compaction Filter" to allow application to > modify/delete a key-value during the background compaction. > https://github.com/facebook/rocksdb/blob/v4.1/include/rocksdb/options.h#L201-L226 > > I'm wondering is th

Re: What does FileCacheService's log message (invalidating cache) mean?

2016-03-20 Thread Satoshi Hikida
Hi, Stefania Thank you for your advice, again!! Could I ask you for another question? > Each sstable has one or more random access readers (one per segment for example) and FileCacheService is a cache for such readers Does this mean RAR(s) must be created and added to the cache (FileCacheService

Re: What does FileCacheService's log message (invalidating cache) mean?

2016-03-20 Thread Stefania Alborghetti
> > Does this mean RAR(s) must be created and added to the cache > (FileCacheService) whenever a SSTable is opened even if in case of > compaction? I think random access read doesn't need to read the data from a > SSTable in case of compaction because the SSTable had sorted by their keys, > then on

Re: Question about SELECT command

2016-03-20 Thread Carlos Alonso
Yes, they could. Carlos Alonso | Software Engineer | @calonso On 17 March 2016 at 16:10, Thouraya TH wrote: > Hi all; > > Please, i have a question about the architecure behind SELECT command. > Given this table: > > c1 c2 c3 > value1 value2 value3 >

Re: Apache Cassandra's license terms

2016-03-20 Thread Michael Mior
Cassandra is under the Apache license ( https://www.apache.org/licenses/LICENSE-2.0). IANAL, but I don't believe you are required contribute your changes. Of course, that's always appreciated by the community :) https://tldrlegal.com/license/apache-license-2.0-(apache-2.0) -- Michael Mior michael