Re: Cassandra snapshot restore with VNODES missing some data

2017-09-04 Thread Jai Bheemsen Rao Dhanwada
Hello Kurt, Thanks for the help :) On Fri, Sep 1, 2017 at 1:12 PM, Jai Bheemsen Rao Dhanwada < jaibheem...@gmail.com> wrote: > yes looks like I am missing that. > > Let me test on one node and try a full cluster restore. > > will update here once I complete my test > > On Fri, Sep 1, 2017 at 5:0

Re: Cassandra snapshot restore with VNODES missing some data

2017-09-01 Thread Jai Bheemsen Rao Dhanwada
yes looks like I am missing that. Let me test on one node and try a full cluster restore. will update here once I complete my test On Fri, Sep 1, 2017 at 5:01 AM, kurt greaves wrote: > is num_tokens also set to 256? >

Re: Cassandra snapshot restore with VNODES missing some data

2017-09-01 Thread kurt greaves
is num_tokens also set to 256?

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-31 Thread Jai Bheemsen Rao Dhanwada
I double checked that I am setting all 256 tokens, verified manually. When I start Cassandra with empty data directory is startsup fine. now if I restart the Cassandra without making any changes it won't start and give same error I captured the nodetool status and nodetool ring and compare the to

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-31 Thread Oleksandr Shulgin
On Thu, Aug 31, 2017 at 10:14 AM, Lutaya Shafiq Holmes < lutayasha...@gmail.com> wrote: > SOME ONE HELP ME GET STARTED WITH CASSANDRA IN WINDOWS Given your user profile picture I've freaked out for a second thinking it's the 45th president of US is shouting at us to get started with Cassandra...

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-31 Thread Lutaya Shafiq Holmes
SOME ONE HELP ME GET STARTED WITH CASSANDRA IN WINDOWS https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon"; target="_blank">https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repe

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-31 Thread kurt greaves
What Erick said. That error in particular implies you aren't setting all 256 tokens in initial_token

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-30 Thread Erick Ramirez
For your method to work, you have to restore like-for-like, i.e. you need to mirror the source nodes by using the exact same tokens in system.local. For example, if source node A has tokens 567, 678 and 789, then you need to setup the equivalent target node with exactly those tokens. Otherwise, th

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-30 Thread Jai Bheemsen Rao Dhanwada
Also, When use the same DC and Rack, I am still getting the below error when I specify the 256 tokens from the source cluster and restart it. ERROR [main] 2017-08-30 17:17:20,878 CassandraDaemon.java:395 - Fatal configuration error org.apache.cassandra.exceptions.ConfigurationException: Cannot c

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-30 Thread Jai Bheemsen Rao Dhanwada
yes source use the vnodes. I am restoring to a different cluster in different datacenter, so the rack and dc changes. does that matter? On Wed, Aug 30, 2017 at 5:55 PM, kurt greaves wrote: > Does the source cluster also use vnodes? You will need to ensure you use > the same tokens for each node

Re: Cassandra snapshot restore with VNODES missing some data

2017-08-30 Thread kurt greaves
Does the source cluster also use vnodes? You will need to ensure you use the same tokens for each node as the snapshots used in the source (and also ensure same tokens apply to same racks).

Cassandra snapshot restore with VNODES missing some data

2017-08-30 Thread Jai Bheemsen Rao Dhanwada
Hello All, I am trying to restore a cluster with VNODE(s) to a new cluster using the snapshot. After the restore when I query data from cql I see some random data is missing. I used the below steps to restore 1. Snapshot on the source cluster 2. Setup new cluster(VNODEs) with the same schema as