Re: Does node add/remove requires all cluster nodes be present?

2018-04-30 Thread Jinhua Luo
Could you explain more? When we add a new node, it should migrate data from other nodes, right? What happens if other nodes are absent? For example, the cluster consists of 3 nodes, but 2 nodes down, now we add the fourth new node, what happens then? 2018-05-01 12:01 GMT+08:00 Jeff Jirsa : > node

Re: Host not available

2018-04-30 Thread Kyrylo Lebediev
First of all you need to identify what's the bottleneck in your case. First things to check: 1) jvm - heap is too small for such workloads Enable GC logging in /etc/cassandra/cassandra-env.sh, then analyze its output during workload. In case you observe messages about long pauses or Full GC's,

Re: Does node add/remove requires all cluster nodes be present?

2018-04-30 Thread Jeff Jirsa
nodetool decommission streams data from the losing replica, so only that instance has to be online (and decom should be preferred to removenode) If that instance is offline, you can use removenode, but you risk violating consistency guarantees Adding nodes is similar - bootstrap streams from th

Does node add/remove requires all cluster nodes be present?

2018-04-30 Thread Jinhua Luo
Hi All, When a new node added, due to the even distribution of the new tokens, the current nodes of the ring should migrate data to this new node. So, does it requires all nodes be present? If not, then if some nodes are down, then it will miss the data migration of those parts, how and when to f

Re: Schema disagreement

2018-04-30 Thread Gábor Auth
Hi, On Mon, Apr 30, 2018 at 11:03 PM Ali Hubail wrote: > What steps have you performed to add the new DC? Have you tried to follow > certain procedures like this? > > https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddDCToCluster.html > Yes, exactly. :/ Bye, Gábor Auth

Re: Schema disagreement

2018-04-30 Thread Ali Hubail
Hi, What steps have you performed to add the new DC? Have you tried to follow certain procedures like this? https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddDCToCluster.html Node can appear offline to other nodes for various reasons. It would help greatly to know what steps

Re: Schema disagreement

2018-04-30 Thread Gábor Auth
Hi, On Mon, Apr 30, 2018 at 11:39 AM Gábor Auth wrote: > 've just tried to add a new DC and new node to my cluster (3 DCs and 10 > nodes) and the new node has a different schema version: > Is it normal? Node is marked down but doing a repair successfully? WARN [MigrationStage:1] 2018-04-30 20

Schema disagreement

2018-04-30 Thread Gábor Auth
Hi, I've just tried to add a new DC and new node to my cluster (3 DCs and 10 nodes) and the new node has a different schema version: Cluster Information: Name: cluster Snitch: org.apache.cassandra.locator.DynamicEndpointSnitch Partitioner: org.apache.cassandra.dht.Murmur3P

Does repair handles indexes

2018-04-30 Thread Akshit Jain
Hi, Does repair in cassandra handles secondary indexes repair/rebuild? Has someone observed this/ is there any documentation related to it. Regards

Re: Frequency of rebuild_index

2018-04-30 Thread Akshit Jain
Hi, This looks good but when can the discrepancy in the index arise. Any specific example? Is there any documentation which says the index automatically rebuilds/keeps itself up to date after updations and deletions. Also if there anything specific to stratio-lucene-index. Regards Akshit Jain 9891

Host not available

2018-04-30 Thread Soheil Pourbafrani
I have 3 node Cassandra 3.11 cluster, one node 4GB memory, and others 2GB. All of them have 4 CPU core. I want to insert data into the table and read it to visualize at the san\me time. When I insert data using Flink Cassandra Connector, in rate 200 inserts per sec, the reader application can't con