RE: Cleanup

2023-02-17 Thread Durity, Sean R via user
: [EXTERNAL] Re: Cleanup Hi Marc, Changes done using "nodetool setcompactionthroughput" will only be applicable till Cassandra service restart. The throughput value will revert back to the settings inside cassandra. yaml post service restart. On Fri, Feb 17, Hi Marc, Changes done using

Re: Cleanup

2023-02-16 Thread Dipan Shah
it is altered via nodetool, is it altered until manually changed > or service restart, so must be manually put pack? > > > > *From:* Aaron Ploetz > *Sent:* Thursday, February 16, 2023 4:50 PM > *To:* user@cassandra.apache.org > *Subject:* Re: Cleanup > > >

RE: Cleanup

2023-02-16 Thread Marc Hoppins
…and if it is altered via nodetool, is it altered until manually changed or service restart, so must be manually put pack? From: Aaron Ploetz Sent: Thursday, February 16, 2023 4:50 PM To: user@cassandra.apache.org Subject: Re: Cleanup EXTERNAL So if I remember right, setting

Re: Cleanup

2023-02-16 Thread Aaron Ploetz
wrote: > Compaction_throughtput_per_mb is 0 in cassandra.yaml. Is setting it in > nodetool going to provide any increase? > > > > *From:* Durity, Sean R via user > *Sent:* Thursday, February 16, 2023 4:20 PM > *To:* user@cassandra.apache.org > *Subject:* RE: Cleanup

RE: Cleanup

2023-02-16 Thread Marc Hoppins
Compaction_throughtput_per_mb is 0 in cassandra.yaml. Is setting it in nodetool going to provide any increase? From: Durity, Sean R via user Sent: Thursday, February 16, 2023 4:20 PM To: user@cassandra.apache.org Subject: RE: Cleanup EXTERNAL Clean-up is constrained/throttled by

RE: Cleanup

2023-02-16 Thread Durity, Sean R via user
nodes in a DC at the same time. Think of it as compaction and consider your cluster performance/workload/timelines accordingly. Sean R. Durity From: manish khandelwal Sent: Thursday, February 16, 2023 5:05 AM To: user@cassandra.apache.org Subject: [EXTERNAL] Re: Cleanup There is no advantage of

Re: Cleanup

2023-02-16 Thread manish khandelwal
There is no advantage of running cleanup if no new nodes are introduced. So cleanup time should remain same when adding new nodes. Cleanup is a local to node so network bandwidth should have no effect on reducing cleanup time. Dont ignore cleanup as it can cause you disks occupied without any u

Re: Cleanup cluster after expansion?

2018-10-25 Thread Alain RODRIGUEZ
Hello, '*nodetool cleanup*' use to be mono-threaded (up to C*2.1) then used all the cores (C*2.1 - C*2.1.14) and is now something that can be controlled (C*2.1.14+): '*nodetool cleanup -j 2*' for example would use 2 compactors maximum (out of the number of concurrent_compactors you defined (probab

Re: Cleanup cluster after expansion?

2018-10-22 Thread Jeff Jirsa
Nodetool will eventually return when it’s done You can also watch nodetool compactionstats -- Jeff Jirsa > On Oct 22, 2018, at 10:53 AM, Ian Spence wrote: > > Environment: Cassandra 2.2.9, GNU/Linux CentOS 6 + 7. Two DCs, 3 RACs in DC1 > and 6 in DC2. > > We recently added 16 new nodes to

Re: Cleanup blocking snapshots - Options?

2018-01-31 Thread kurt greaves
as > > > > *From:* kurt greaves [mailto:k...@instaclustr.com] > *Sent:* Montag, 15. Jänner 2018 06:18 > *To:* User > *Subject:* Re: Cleanup blocking snapshots - Options? > > > > Disabling the snapshots is the best and only real option other than > upgrading at the mom

RE: Cleanup blocking snapshots - Options?

2018-01-30 Thread Steinmaurer, Thomas
ent: Montag, 15. Jänner 2018 06:18 To: User Subject: Re: Cleanup blocking snapshots - Options? Disabling the snapshots is the best and only real option other than upgrading at the moment. Although apparently it was thought that there was only a small race condition in 2.1 that triggered this and

Re: Cleanup blocking snapshots - Options?

2018-01-15 Thread Nicolas Guyomar
I re-try. Due to the issue we simply omitted running cleanup then, but > as disk space is becoming some sort of bottle-neck again, we need to > re-evaluate this situation J > > > > Regards, > > Thomas > > > > *From:* kurt greaves [mailto:k...@instaclustr.c

RE: Cleanup blocking snapshots - Options?

2018-01-14 Thread Steinmaurer, Thomas
to re-evaluate this situation ☺ Regards, Thomas From: kurt greaves [mailto:k...@instaclustr.com] Sent: Montag, 15. Jänner 2018 06:18 To: User Subject: Re: Cleanup blocking snapshots - Options? Disabling the snapshots is the best and only real option other than upgrading at the moment. Although

Re: Cleanup blocking snapshots - Options?

2018-01-14 Thread kurt greaves
Disabling the snapshots is the best and only real option other than upgrading at the moment. Although apparently it was thought that there was only a small race condition in 2.1 that triggered this and it wasn't worth fixing. If you are triggering it easily maybe it is worth fixing in 2.1 as well.

Re: Cleanup and old files

2013-12-30 Thread David McNelis
I see the SSTable in this log statement: Stream context metadata (along with a bunch of other files)but I do not see it in the list of files "Opening" (which I see quite a bit of, as expected). Safe to try moving that file off server (to a backup location)? If I tried this, would I want to

Re: Cleanup and old files

2013-12-30 Thread Aaron Morton
Check the SSTable is actually in use by cassandra, if it’s missing a component or otherwise corrupt it will not be opened at run time and so not included in all the fun games the other SSTables get to play. If you have the last startup in the logs check for an “Opening… “ message or an ERROR a

Re: cleanup failure; FileNotFoundException deleting (wrong?) db file

2013-11-08 Thread Elias Ross
On Fri, Nov 8, 2013 at 10:31 AM, Elias Ross wrote: > On Thu, Nov 7, 2013 at 7:01 PM, Krishna Chaitanya > wrote: > >> Check if its an issue with permissions or broken links.. >> >> > I don't think permissions are an issue. You might be on to something > regarding the links. > > As it turns out (

Re: cleanup failure; FileNotFoundException deleting (wrong?) db file

2013-11-08 Thread Elias Ross
On Thu, Nov 7, 2013 at 7:01 PM, Krishna Chaitanya wrote: > Check if its an issue with permissions or broken links.. > > I don't think permissions are an issue. You might be on to something regarding the links. I've been seeing this on 4 nodes, configured identically. Here's what I think the prob

Re: cleanup failure; FileNotFoundException deleting (wrong?) db file

2013-11-07 Thread Krishna Chaitanya
Check if its an issue with permissions or broken links.. On Nov 6, 2013 11:17 AM, "Elias Ross" wrote: > > I'm seeing the following: > > Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: > /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-1-Data.db (No > such file o

Re: cleanup failure; FileNotFoundException deleting (wrong?) db file

2013-11-06 Thread Elias Ross
On Wed, Nov 6, 2013 at 9:10 AM, Keith Freeman <8fo...@gmail.com> wrote: > Is it possible that the keyspace was dropped then re-created ( > https://issues.apache.org/jira/browse/CASSANDRA-4857)? I've seen similar > stack traces in that case. > > Thanks for the pointer. There's a program (RHQ) that

Re: cleanup failure; FileNotFoundException deleting (wrong?) db file

2013-11-06 Thread Keith Freeman
Is it possible that the keyspace was dropped then re-created ( https://issues.apache.org/jira/browse/CASSANDRA-4857)? I've seen similar stack traces in that case. On 11/05/2013 10:47 PM, Elias Ross wrote: I'm seeing the following: Caused by: java.lang.RuntimeException: java.io.FileNotFoundEx

Re: Cleanup understastanding

2013-05-29 Thread Takenori Sato
> But, that is still awkward. Does cleanup take so much disk space to complete the compaction operation? In other words, twice the size? Not really, but logically yes. According to 1.0.7 source, cleanup checks if there's enough space that is larger than the worst scenario as below. If not, the ex

Re: Cleanup understastanding

2013-05-29 Thread Víctor Hugo Oliveira Molinar
Thanks for the answers. I got it. I was using cleanup, because I thought it would delete the tombstones. But, that is still awkward. Does cleanup take so much disk space to complete the compaction operation? In other words, twice the size? *Atenciosamente,* *Víctor Hugo Molinar - *@vhmolinar

Re: Cleanup understastanding

2013-05-28 Thread Takenori Sato(Cloudian)
Hi Victor, As Andrey said, running cleanup doesn't work as you expect. > The reason I need to clean things is that I wont need most of my inserted data on the next day. Deleted objects(columns/records) become deletable from sstable file when they get expired(after gc_grace_seconds). Such d

Re: Cleanup understastanding

2013-05-28 Thread Robert Coli
On Tue, May 28, 2013 at 7:39 AM, Víctor Hugo Oliveira Molinar wrote: > So I'd like to know more about what does happens in a cleanup operation. > Appreciate any help. ./src/java/org/apache/cassandra/db/compaction/CompactionManager.java" line 591 of 1175 " logger.info("Cleaning up " + sstable);

Re: Cleanup understastanding

2013-05-28 Thread Andrey Ilinykh
cleanup removes data which doesn't belong to the current node. You have to run it only if you move (or add new) nodes. In your case there is no any reason to do it. On Tue, May 28, 2013 at 7:39 AM, Víctor Hugo Oliveira Molinar < vhmoli...@gmail.com> wrote: > Hello everyone. > I have a daily main

Re: Cleanup the peers columnfamily

2013-05-06 Thread Sylvain Lebresne
What version of Cassandra are you using. If you're using 1.2.0 (or *were* using 1.2.0 when the 2 nodes were removed), you might be seeing https://issues.apache.org/jira/browse/CASSANDRA-5167. > Or I have to delete the row in the table That should work. On Mon, May 6, 2013 at 4:22 PM, Shahryar S

Re: cleanup crashing with "java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 8"

2012-03-14 Thread Maki Watanabe
If you don't need LCS, it will be safer to move back to STCS. If you need LCS, you can manually demote the sstables by editing the manifest file. I'm not a man in datastax, and it is a workaround I've just found. Please test it well before applying it on your production service. Background: You h

Re: cleanup crashing with "java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 8"

2012-03-14 Thread Thomas van Neerijnen
Thanks, good to know there's a fix on the way. In the mean time is there any way to work around this? Or perhaps should I move back to SizeTiered until 1.0.9 is released? On Wed, Mar 14, 2012 at 3:00 PM, Maki Watanabe wrote: > Fixed in 1.0.9, 1.1.0 > https://issues.apache.org/jira/browse/CASSANDR

Re: cleanup crashing with "java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 8"

2012-03-14 Thread Maki Watanabe
Fixed in 1.0.9, 1.1.0 https://issues.apache.org/jira/browse/CASSANDRA-3989 You should better to avoid to use cleanup/scrub/upgradesstable if you can on 1.0.7 though it will not corrupt sstables. 2012/3/14 Thomas van Neerijnen : > Hi all > > I am trying to run a cleanup on a column family and am g

Re: Cleanup in a write-only environment

2011-11-30 Thread David McNelis
Thanks, folks. I think I must have read compaction, thought cleanup, and gotten muddled from there. David On Nov 30, 2011 6:45 PM, "Edward Capriolo" wrote: > Your understanding of nodetool cleanup is not correct. cleanup is used > only after cluster balancing like adding or removing nodes. It r

Re: Cleanup in a write-only environment

2011-11-30 Thread Edward Capriolo
Your understanding of nodetool cleanup is not correct. cleanup is used only after cluster balancing like adding or removing nodes. It removes data that does not belong on the node anymore (in older versions it removed hints as well) Your debate is needing to run companion . In a write only workloa

Re: Cleanup in a write-only environment

2011-11-30 Thread Nick Bailey
I believe you are mis-understanding what cleanup does. Cleanup is used to remove data from a node that the node no longer owns. For example when you move a node in the ring, it changes responsibility and gets new data, but does not automatically delete the data it used to be responsible for but no

Re: cleanup / move

2011-09-12 Thread aaron morton
> is there a techincal problem with running a nodetool move on a node while a > cleanup is running? Cleanup is removing data that the node is no longer responsible for while move is first removing *all* data from the node and then streaming new data to it. I'd put that in the crossing the s