Re: Adding disk capacity to a running node

2016-10-18 Thread Vladimir Yudovin
being terminated. From: Vladimir Yudovin <vla...@winguzone.com> Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org> Date: Monday, October 17, 2016 at 11:48 AM To: user <user@cassandra.apache.org> Subject: Re: Adding disk capacity to a running

Re: Adding disk capacity to a running node

2016-10-17 Thread Jeff Jirsa
rom: Seth Edwards Reply-To: "user@cassandra.apache.org" Date: Monday, October 17, 2016 at 2:06 PM To: user Subject: Re: Adding disk capacity to a running node Thanks for the detailed steps Ben! This gives me another option in case of emergency. On Mon, Oct 17, 2016 at

Re: Adding disk capacity to a running node

2016-10-17 Thread Seth Edwards
often have to do, when we encounter pathological >> compaction situations associated with bootstrapping, adding new DCs or STCS >> with a dominant table or people ignore high disk usage warnings :) >> >> On Mon, 17 Oct 2016 at 12:43 Jeff Jirsa >> wrote: >> &

Re: Adding disk capacity to a running node

2016-10-17 Thread Ben Bromhead
e or people ignore high disk usage warnings :) > > On Mon, 17 Oct 2016 at 12:43 Jeff Jirsa > wrote: > > Ephemeral is fine, you just need to have enough replicas (in enough AZs > and enough regions) to tolerate instances being terminated. > > > > > > > > *F

Re: Adding disk capacity to a running node

2016-10-17 Thread Seth Edwards
*Vladimir Yudovin >> *Reply-To: *"user@cassandra.apache.org" >> *Date: *Monday, October 17, 2016 at 11:48 AM >> *To: *user >> >> >> *Subject: *Re: Adding disk capacity to a running node >> >> >> >> It's extremely u

Re: Adding disk capacity to a running node

2016-10-17 Thread Mark Rose
I've had luck using the st1 EBS type, too, for situations where reads are rare (the commit log still needs to be on its own high IOPS volume; I like using ephemeral storage for that). On Mon, Oct 17, 2016 at 3:03 PM, Branton Davis wrote: > I doubt that's true anymore. EBS volumes, while previous

Re: Adding disk capacity to a running node

2016-10-17 Thread Ben Bromhead
: *Vladimir Yudovin > *Reply-To: *"user@cassandra.apache.org" > *Date: *Monday, October 17, 2016 at 11:48 AM > *To: *user > > > *Subject: *Re: Adding disk capacity to a running node > > > > It's extremely unreliable to use ephemeral (local) disks. Even

Re: Adding disk capacity to a running node

2016-10-17 Thread Jeff Jirsa
Ephemeral is fine, you just need to have enough replicas (in enough AZs and enough regions) to tolerate instances being terminated. From: Vladimir Yudovin Reply-To: "user@cassandra.apache.org" Date: Monday, October 17, 2016 at 11:48 AM To: user Subject: Re: Adding disk cap

Re: Adding disk capacity to a running node

2016-10-17 Thread Jonathan Haddad
There are, of course, people using EBS successfully, I didn't say there weren't and it wasn't my point. I was merely saying the reasoning to avoid ephemeral disk because your instance is going to move between machines and lose data is nonsense, in that they work just fine and have been heavily use

Re: Adding disk capacity to a running node

2016-10-17 Thread Jonathan Haddad
If a node is restarted is not moved, no. That's not how it works. On Mon, Oct 17, 2016 at 12:01 PM Vladimir Yudovin wrote: > But after such restart node should be joined to cluster again and restore > data, right? > > Best regards, Vladimir Yudovin, > > > *Winguzone

Re: Adding disk capacity to a running node

2016-10-17 Thread Branton Davis
I doubt that's true anymore. EBS volumes, while previously discouraged, are the most flexible way to go, and are very reliable. You can attach, detach, and snapshot them too. If you don't need provisioned IOPS, the GP2 SSDs are more cost-effective and allow you to balance IOPS with cost. On Mon

Re: Adding disk capacity to a running node

2016-10-17 Thread Vladimir Yudovin
But after such restart node should be joined to cluster again and restore data, right? Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra on Azure and SoftLayer. Launch your cluster in minutes. On Mon, 17 Oct 2016 14:55:49 -0400Jonathan Haddad

Re: Adding disk capacity to a running node

2016-10-17 Thread Jonathan Haddad
Vladimir, *Most* people are running Cassandra are doing so using ephemeral disks. Instances are not arbitrarily moved to different hosts. Yes, instances can be shut down, but that's why you distribute across AZs. On Mon, Oct 17, 2016 at 11:48 AM Vladimir Yudovin wrote: > It's extremely unrelia

Re: Adding disk capacity to a running node

2016-10-17 Thread Vladimir Yudovin
It's extremely unreliable to use ephemeral (local) disks. Even if you don't stop instance by yourself, it can be restarted on different server in case of some hardware failure or AWS initiated update. So all node data will be lost. Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cas

Re: Adding disk capacity to a running node

2016-10-17 Thread Seth Edwards
These are i2.2xlarge instances so the disks currently configured as ephemeral dedicated disks. On Mon, Oct 17, 2016 at 11:34 AM, Laing, Michael wrote: > You could just expand the size of your ebs volume and extend the file > system. No data is lost - assuming you are running Linux. > > > On Mond

Re: Adding disk capacity to a running node

2016-10-17 Thread Laing, Michael
You could just expand the size of your ebs volume and extend the file system. No data is lost - assuming you are running Linux. On Monday, October 17, 2016, Seth Edwards wrote: > We're running 2.0.16. We're migrating to a new data model but we've had an > unexpected increase in write traffic tha

Re: Adding disk capacity to a running node

2016-10-17 Thread Seth Edwards
We're running 2.0.16. We're migrating to a new data model but we've had an unexpected increase in write traffic that has caused us some capacity issues when we encounter compactions. Our old data model is on STCS. We'd like to add another ebs volume (we're on aws) to our JBOD config and hopefully a

Re: Adding disk capacity to a running node

2016-10-17 Thread Yabin Meng
I assume you're talking about Cassandra JBOD (just a bunch of disk) setup because you do mention it as adding it to the list of data directories. If this is the case, you may run into issues, depending on your C* version. Check this out: http://www.datastax.com/dev/blog/improving-jbod. Or another

Re: Adding disk capacity to a running node

2016-10-17 Thread Vladimir Yudovin
Yes, Cassandra should keep percent of disk usage equal for all disk. Compaction process and SSTable flushes will use new disk to distribute both new and existing data. Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra on Azure and SoftLayer. Launch your cluster in minutes.

Adding disk capacity to a running node

2016-10-17 Thread Seth Edwards
We have a few nodes that are running out of disk capacity at the moment and instead of adding more nodes to the cluster, we would like to add another disk to the server and add it to the list of data directories. My question, is, will Cassandra use the new disk for compactions on sstables that alre