Re: Data rebalancing algorithm

2015-12-24 Thread Sergi Vladykin
Thanks a lot for your answers! Paulo, I'll take a look at classes you've suggested. Jack, the link you've provided lacks description on how virtual nodes are mapped to phisical sstables/indexes on disk. To be more exact, I have the following better detailed questions: 1. How vnodes are mapped t

Re: Data rebalancing algorithm

2015-12-24 Thread Jack Krupansky
Read details here: https://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_node_to_cluster_t.html -- Jack Krupansky On Thu, Dec 24, 2015 at 11:09 AM, Paulo Motta wrote: > The new node will own some parts (ranges) of the ring according to the > ring tokens the node is responsibl

Re: Data rebalancing algorithm

2015-12-24 Thread Paulo Motta
The new node will own some parts (ranges) of the ring according to the ring tokens the node is responsible for. These tokens are defined from the yaml property initial_token (manual assignment) or num_tokens (random assignment). During the bootstrap process raw data from sstables sections containi

Data rebalancing algorithm

2015-12-24 Thread Sergi Vladykin
Guys, I was not able to find in docs or in google detailed description of data rebalancing algorithm. I mean how Cassandra moves SSTables when new node connects to the cluster, how primary and secondary indexes are getting transfered to this new node, etc.. Can anyone provide relevant links plea

Re: Cassandra 3.1 - Aggregation query failure

2015-12-24 Thread Dinesh Shanbhag
There is nothing in the system.log when the aggregation query fails. Thanks for the Datastax clarification. Thanks, Dinesh. On 12/24/2015 2:46 PM, DuyHai Doan wrote: The exception stack trace at client side shows some issue with File Permission. Try to look for the same error message in syste

Re: Cassandra 3.1 - Aggregation query failure

2015-12-24 Thread DuyHai Doan
The exception stack trace at client side shows some issue with File Permission. Try to look for the same error message in system.log to chase down the root issue. "Would trying the Datastax distribution offer any better chances?" --> No, DSC is just a packaging of C* OSS On Thu, Dec 24, 2015 at 7