Cassandra snapshot with TTL

2024-11-20 Thread edi mari
Hi, I'm attempting to use the `snapshot` command with the `--tt` option, but I keep encountering an error. Can you help me figure out what I might be doing wrong? I'm using Cassandra v4.1.5. *nodetool snapshot --ttl 1HOURS -t my_snapshot my_keyspace* nodetool: Invalid duration: 1[HOURS] Accepted

Re: Cassandra snapshot with TTL

2024-11-19 Thread edi mari
Working, Thanks On Tue, Nov 19, 2024 at 12:01 PM guo Maxwell wrote: > try to replace 1HOURS with 1h ? > > edi mari 于2024年11月19日周二 17:52写道: > >> Hi, >> I'm attempting to use the `snapshot` command with the `--tt` option, but >> I keep encountering an error. >> Can you help me figure out what I

Re: Cassandra snapshot with TTL

2024-11-19 Thread guo Maxwell
try to replace 1HOURS with 1h ? edi mari 于2024年11月19日周二 17:52写道: > Hi, > I'm attempting to use the `snapshot` command with the `--tt` option, but I > keep encountering an error. > Can you help me figure out what I might be doing wrong? > > I'm using Cassandra v4.1.5. > > *nodetool snapshot --tt

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

Cassandra snapshot JMX commands

2016-10-25 Thread Rajath Subramanyam
Hello Cassandra-users, I have a question about issuing snapshot using JMX commands. - Issuing snapshot on a single column family: Nodetool command: nodetool snapshot -cf -t ** The equivalent JMX command is: run -d org.apache.cassandra.db -b org.apache.cassandra.db:type=StorageService take

Re: Cassandra snapshot

2014-06-02 Thread Jack Krupansky
You might check the doc: http://www.datastax.com/documentation/cassandra/2.0/cassandra/operations/ops_backup_restore_c.html -- Jack Krupansky From: ng Sent: Monday, June 2, 2014 3:18 PM To: user@cassandra.apache.org Subject: Cassandra snapshot I need to make sure that all the data in sstable

Re: Cassandra snapshot

2014-06-02 Thread Jeremy Jongsma
I wouldn't recommend doing this before regular backups for the simple reason that for large data sets it will take a long time to run, and will require that your node backup schedule be properly staggered (you should never be running repair on all nodes at the same time.) Backups should be trea

Re: Cassandra snapshot

2014-06-02 Thread Robert Coli
On Mon, Jun 2, 2014 at 12:18 PM, ng wrote: > > I need to make sure that all the data in sstable before taking the > snapshot. > > I am thinking of > nodetool cleanup > Cleanup does nothing but waste i/o if you have not recently added, removed, or replaced nodes. > nodetool repair > Repair can

Cassandra snapshot

2014-06-02 Thread ng
I need to make sure that all the data in sstable before taking the snapshot. I am thinking of nodetool cleanup nodetool repair nodetool flush nodetool snapshot Am I missing anything else? Thanks in advance for the responses/suggestions. ng

Re: cassandra snapshot 1.2.5 , stores ttl?

2013-08-15 Thread rash aroskar
got it. Thanks for response. On Thu, Aug 15, 2013 at 4:26 PM, Tyler Hobbs wrote: > Snapshots just hardlink the existing SSTable files. They don't "freeze" > the TTL or anything like that, so data can expire while snapshotted and it > will be converted to a tombstone when it's first compacted

Re: cassandra snapshot 1.2.5 , stores ttl?

2013-08-15 Thread Tyler Hobbs
Snapshots just hardlink the existing SSTable files. They don't "freeze" the TTL or anything like that, so data can expire while snapshotted and it will be converted to a tombstone when it's first compacted after you reload it. There's not an easy way to prevent this from happening. On Thu, Aug

cassandra snapshot 1.2.5 , stores ttl?

2013-08-15 Thread rash aroskar
Hi, If I add some data in cassandra cluster with TTL lets say 2 days, took snapshot of it before it expires. If I use the snapshot to load the data in different/same cluster, will the data from the snapshot will carry the TTL of 2 days (from the time when the snapshot was created)? if not can I spe

RE: Question on Cassandra Snapshot

2013-02-19 Thread S C
Thank you Aaron. From: aa...@thelastpickle.com Subject: Re: Question on Cassandra Snapshot Date: Mon, 18 Feb 2013 06:37:34 +1300 To: user@cassandra.apache.org With incremental_backup turned OFF in Cassandra.yaml - Are all SSTables are under /data/TestKeySpace/ColumnFamily at all times?No. They

Re: Question on Cassandra Snapshot

2013-02-17 Thread aaron morton
appreciate any advise or pointers on this. > > Thanks in advance. > > From: as...@outlook.com > To: user@cassandra.apache.org > Subject: Question on Cassandra Snapshot > Date: Thu, 14 Feb 2013 20:47:14 -0600 > > I have been looking at incremental backups and snapshots.

RE: Question on Cassandra Snapshot

2013-02-15 Thread S C
I appreciate any advise or pointers on this. Thanks in advance. From: as...@outlook.com To: user@cassandra.apache.org Subject: Question on Cassandra Snapshot Date: Thu, 14 Feb 2013 20:47:14 -0600 I have been looking at incremental backups and snapshots. I have done some experimentation but

Question on Cassandra Snapshot

2013-02-14 Thread S C
I have been looking at incremental backups and snapshots. I have done some experimentation but could not come to a conclusion. Can somebody please help me understanding it right? /data is my data partition With incremental_backup turned OFF in Cassandra.yaml - Are all SSTables are under /data/Te