Re: GossipingPropertyFileSnitch vs Ec2Snitch

2015-08-21 Thread Robert Coli
On Fri, Aug 21, 2015 at 2:37 AM, Alain RODRIGUEZ wrote: > So what would be the procedure to go from EC2Snitch to GPFS ? > > I see 2 possibilities and I am not sure of the result of each of these: > > - Node by node, on a rolling restart way, and making sure that you use the > f

Re: GossipingPropertyFileSnitch vs Ec2Snitch

2015-08-21 Thread Alain RODRIGUEZ
Hi guys, I am also wondering about this kind of stuff, since we are going out of AWS and were using EC2Snitch. I felt free to write it here, since it looks linked to previous comments. @John, we have been using EC2Snitch for many years, and it just works fine ! Plus, we don't have to kee

Re: GossipingPropertyFileSnitch vs Ec2Snitch

2015-08-03 Thread John Wong
PM, John Wong wrote: > >> What other benefits can Ec2Snitch provide in a single-region, multi-az >> AWS deployment besides automatically setting dc and rack for you as the >> snitch reads from EC2 metadata. >> Obviously there is a concern with what if there is somethin

Re: GossipingPropertyFileSnitch vs Ec2Snitch

2015-08-03 Thread Robert Coli
On Sun, Aug 2, 2015 at 6:22 PM, John Wong wrote: > What other benefits can Ec2Snitch provide in a single-region, multi-az AWS > deployment besides automatically setting dc and rack for you as the snitch > reads from EC2 metadata. > Obviously there is a concern with what if there

GossipingPropertyFileSnitch vs Ec2Snitch

2015-08-02 Thread John Wong
Hi Based on * http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureSnitchEC2_t.html * http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureSnitchGossipPF_c.html What other benefits can Ec2Snitch provide in a single-region, multi-az AWS deployment

Re: EC2snitch in AWS

2015-05-29 Thread Alain RODRIGUEZ
7034156cbb >> >> On Wed, May 27, 2015 at 9:31 PM, Kaushal Shriyan < >> kaushalshri...@gmail.com> wrote: >> >>> Hi, >>> >>> Can somebody please share me details about setting up of EC2snitch in >>> AWS single region which has availability

Re: EC2snitch in AWS

2015-05-29 Thread Kaushal Shriyan
talling cassandra 2.0.xx on AWS: > https://gist.github.com/aliakhtar/3649e412787034156cbb > > On Wed, May 27, 2015 at 9:31 PM, Kaushal Shriyan > wrote: > >> Hi, >> >> Can somebody please share me details about setting up of EC2snitch in AWS >> single region

Re: EC2snitch in AWS

2015-05-27 Thread Ali Akhtar
are me details about setting up of EC2snitch in AWS > single region which has availability zone 1a and 1b? I am using Cassandra > version 1.2.19 in the setup. > > I would appreciate your help. > > Regards, > > Kaushal >

Re: EC2snitch in AWS

2015-05-27 Thread Jared Biel
It's pretty straightforward - there is documentation here <http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureSnitchEC2_t.html>. Simply set endpoint_snitch: Ec2Snitch in cassandra.yaml when creating the cluster and create keyspaces with th

Re: EC2snitch in AWS

2015-05-27 Thread arun sirimalla
Hi Kaushal, Here is the reference, http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureSnitchEC2_t.html On Wed, May 27, 2015 at 9:31 AM, Kaushal Shriyan wrote: > Hi, > > Can somebody please share me details about setting up of EC2snitch in AWS > single regi

EC2snitch in AWS

2015-05-27 Thread Kaushal Shriyan
Hi, Can somebody please share me details about setting up of EC2snitch in AWS single region which has availability zone 1a and 1b? I am using Cassandra version 1.2.19 in the setup. I would appreciate your help. Regards, Kaushal

Re: making sure 1 copy per availability zone(rack) using EC2Snitch

2013-09-11 Thread rash aroskar
gt;> > > 1) use 1.2.9 no matter what, instead of 1.2.5 > 2) if only *ever* will have clusters in EC2, EC2Snitch is fine, but read > and understand CASSANDRA-3810, especially if not using vnodes > 3) if *ever* may have clusters outside of EC2 + inside EC2, use > GossipingPropertyFi

Re: making sure 1 copy per availability zone(rack) using EC2Snitch

2013-09-10 Thread Robert Coli
On Mon, Sep 9, 2013 at 11:21 AM, rash aroskar wrote: > Are you suggesting deploying 1.2.9 only if using Cassandra "DC" outside of > EC2 or if I wish to use rack replication at all? > 1) use 1.2.9 no matter what, instead of 1.2.5 2) if only *ever* will have clusters in EC2, EC2

Re: making sure 1 copy per availability zone(rack) using EC2Snitch

2013-09-09 Thread Robert Coli
wledge using placement strategy EC2Snitch should take care of this. > Is this correct? Do I need to specify any strategy options? > https://issues.apache.org/jira/browse/CASSANDRA-3810 Has background on how one must configure all rack aware snitches. If you may ever have a Cassandra "

Re: making sure 1 copy per availability zone(rack) using EC2Snitch

2013-09-09 Thread rash aroskar
; I am planning my new cassandra 1.2.5 cluster with all nodes in single >> region but divided among 2 availablity zones equally. I want to make sure >> with replication factor 2 I get 1 copy in every availability zone. As per >> my knowledge using placement strategy EC2Snitch should tak

making sure 1 copy per availability zone(rack) using EC2Snitch

2013-09-09 Thread rash aroskar
Hello, I am planning my new cassandra 1.2.5 cluster with all nodes in single region but divided among 2 availablity zones equally. I want to make sure with replication factor 2 I get 1 copy in every availability zone. As per my knowledge using placement strategy EC2Snitch should take care of this

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-25 Thread aaron morton
; > to using the auto_bootstrap ? > > > > "I prefer to use the offset method. Take the 6 tokens from your us-west DC > > and add 100 to them for the new dc. " > > > > Any doc on this ? I am not aware of all the possibilities. Why is this the >

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-23 Thread Alain RODRIGUEZ
> the best method according to you ? > > > > About seeds => "Yes. Have 3 from each." > > > > What is the point of this ? > > > > I didn't thought this change would be that tricky, thank you guys for > these warnings and your help ;)

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-23 Thread aaron morton
hy is this the > best method according to you ? > > About seeds => "Yes. Have 3 from each." > > What is the point of this ? > > I didn't thought this change would be that tricky, thank you guys for these > warnings and your help ;) > > Alain >

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-23 Thread Alain RODRIGUEZ
t 7:41 AM, Alain RODRIGUEZ > wrote: > > I am wondering about the process to grow from one data center to a few of > > them. First thing is we use EC2Snitch for now. So I guess we have to > switch > > to Ec2MultiRegionSnitch. > > > > c/ I am using the SimpleStra

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-22 Thread Dane Miller
On Thu, Apr 18, 2013 at 7:41 AM, Alain RODRIGUEZ wrote: > I am wondering about the process to grow from one data center to a few of > them. First thing is we use EC2Snitch for now. So I guess we have to switch > to Ec2MultiRegionSnitch. > > c/ I am using the SimpleStrategy.

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-21 Thread aaron morton
the same number of nodes in both DC's. > 1/ Change the yaml conf on each of the 6 eu-west existing nodes > - Ec2Snitch to Ec2MultiRegionSnitch > - uncomment the broadcast_address and set the public ip of the node > - let the private ip as defined right now the lis

Ec2Snitch to Ec2MultiRegionSnitch

2013-04-18 Thread Alain RODRIGUEZ
is we use EC2Snitch for now. So I guess we have to switch to Ec2MultiRegionSnitch. Is that doable without any down-time ? Our C* cluster : C*1.2.2, 6 EC2 m1.xLarge in eu-west already running, wanting to add 3 m1.xLarge on us-east I was planning to do it this way: 1/ Change the yaml conf on each

Ec2Snitch and Ec2MultiRegionSnitch - does us-west-2 cause a bug with this snitch?

2011-11-14 Thread Allen Servedio
Hi, As of Nov. 9, 2011 Amazon added us-west-2 (US West Oregon) region: http://aws.typepad.com/aws/2011/11/now-open-us-west-portland-region.html In looking at the EC2Snitch code (in the 0.8.x and 1.0.x branches), I see it determining which data center (which I think is supposed to be equivalent

Re: Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Sasha Dolgy
Of course. Hoping one day I create an issue related to Ec2 that CAN be reproduced... https://issues.apache.org/jira/browse/CASSANDRA-3175 On Sat, Sep 10, 2011 at 10:10 PM, Jonathan Ellis wrote: > Can you create a Jira ticket?

Re: Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Jonathan Ellis
Can you create a Jira ticket? On Sat, Sep 10, 2011 at 6:52 AM, Sasha Dolgy wrote: > maybe it's related to this ... > https://issues.apache.org/jira/browse/CASSANDRA-3114 > > odd thing is, we haven't "moved" to Ec2Snitch ... been using it for > quite a long ti

Re: Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Sasha Dolgy
maybe it's related to this ... https://issues.apache.org/jira/browse/CASSANDRA-3114 odd thing is, we haven't "moved" to Ec2Snitch ... been using it for quite a long time now ... On Sat, Sep 10, 2011 at 1:42 PM, Sasha Dolgy wrote: > Upgraded one ring that has four nodes f

Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Sasha Dolgy
Upgraded one ring that has four nodes from 0.8.0 to 0.8.5 with only one minor problem.  It relates to Ec2Snitch when running a 'nodetool ring' from two of the four nodes.  the rest are all working fine: Address         DC          Rack        Status State   Load Own

Re: Ec2Snitch

2011-08-11 Thread Viliam Holub
d. > > On Wed, Aug 10, 2011 at 7:55 PM, Viliam Holub wrote: > > > > Hi, > > > > I tried to switch to Ec2Snith. Although it correctly found the region: > > > > INFO 23:18:00,643 EC2Snitch using region: eu-west, zone: 1a. > > > > it started to

Re: Ec2Snitch

2011-08-10 Thread Brandon Williams
t correctly found the region: > > INFO 23:18:00,643 EC2Snitch using region: eu-west, zone: 1a. > > it started to report NullPointerException every second: > > ERROR 00:23:40,268 Internal error processing get_slice > java.lang.NullPointerException >        at > org.apac

Ec2Snitch

2011-08-10 Thread Viliam Holub
Hi, I tried to switch to Ec2Snith. Although it correctly found the region: INFO 23:18:00,643 EC2Snitch using region: eu-west, zone: 1a. it started to report NullPointerException every second: ERROR 00:23:40,268 Internal error processing get_slice java.lang.NullPointerException at

Re: Ec2Snitch + NetworkTopologyStrategy if only in one region?

2011-04-20 Thread William Oberman
Also for the new users like me, don't assume DC1 is a keyword like I did. A working example of a keyspace in EC2 is: create keyspace test with replication_factor=3 and strategy_options = [{us-east:3}] and placement_strategy='org.apache.cassandra.locator.NetworkTopologyStrategy'; For a single DC

Re: Ec2Snitch + NetworkTopologyStrategy if only in one region?

2011-04-13 Thread William Oberman
One last coda, for other noobs to cassandra like me. If you use NetworkTopologyStrategy with replication_factor > 1, make sure you have EC2 instance in multiple availability zones. I was doing baby steps, and tried doing a cluster in one AZ (before spreading to multiple AZs) and was getting the m

Re: Ec2Snitch + NetworkTopologyStrategy if only in one region?

2011-04-12 Thread aaron morton
If you can use standard + encoded I would go with that. Aaron On 13 Apr 2011, at 07:07, William Oberman wrote: > Excellent to know! (and yes, I figure I'll expand someday, so I'm glad I > found this out before digging a hole). > > The other issue I've been pondering is a normal column family

Re: Ec2Snitch + NetworkTopologyStrategy if only in one region?

2011-04-12 Thread William Oberman
Excellent to know! (and yes, I figure I'll expand someday, so I'm glad I found this out before digging a hole). The other issue I've been pondering is a normal column family of encoded objects (in my case JSON) vs. a super column. Based on my use case, things I've read, etc... right now I'm comi

Re: Ec2Snitch + NetworkTopologyStrategy if only in one region?

2011-04-12 Thread Jonathan Ellis
NTS is overkill in the sense that it doesn't really benefit you in a single DC, but if you think you may expand to another DC in the future it's much simpler if you were already using NTS, than first migrating to NTS (changing strategy is painful). I can't think of any downsides to using NTS in a

Ec2Snitch + NetworkTopologyStrategy if only in one region?

2011-04-12 Thread William Oberman
Hi, I'm getting closer to commiting to cassandra, and now I'm in system/IT issues and questions. I'm in the amazon EC2 cloud. I previously used this forum to discover the best practice for disk layouts (large instance + the two ephemeral disks in RAID0 for data + root volume for everything else)

Re: Ec2Snitch & Other snitches...

2011-03-22 Thread Sasha Dolgy
data is still manageable. -sd On Mar 22, 2011 5:05 PM, "Robert Coli" wrote: > On Tue, Mar 22, 2011 at 7:19 AM, Sasha Dolgy wrote: >> More, I suppose the question I'm after is, can the snitch method be >> adjusted adhoc (with node restart) or once it's changed

Re: Ec2Snitch & Other snitches...

2011-03-22 Thread Robert Coli
On Tue, Mar 22, 2011 at 7:19 AM, Sasha Dolgy wrote: > More, I suppose the question I'm after is, can the snitch method be > adjusted adhoc (with node restart) or once it's changed from > SimpleSnitch to Ec2Snitch that's it? You can change Snitches on a cluster with data o

Ec2Snitch & Other snitches...

2011-03-22 Thread Sasha Dolgy
Hi Everyone, Can the Ec2Snitch be enabled by adjusting the parameter in the cassandra.yaml and restarting the node? More, I suppose the question I'm after is, can the snitch method be adjusted adhoc (with node restart) or once it's changed from SimpleSnitch to Ec2Snitch that&#