<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: ec2snitch/propertyfile snitches + Brisk Datacenter Name</title>
		<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 01:20:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name" rel="self" type="application/rss+xml" />

		<item>
			<title>joaquin on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-499</link>
			<pubDate>Fri, 09 Sep 2011 18:18:45 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">499@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Also, just to make sure we are on the same page.&#60;/p&#62;
&#60;p&#62;The reason Brisk starts up with 2 DataCenters is to avoid your real-time datacenter getting bogged down by your analytics. But by using Cassandra's innate datacenter knowledge, you are also able to run analytics on real-time data without having to do a full move of data to a separate cluster.&#60;/p&#62;
&#60;p&#62;I'm assuming this is not the case with your cluster, but I wanted to make sure though.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-498</link>
			<pubDate>Fri, 09 Sep 2011 18:14:00 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">498@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;You are correct. As of now you would have to use the Property File to make this work.&#60;/p&#62;
&#60;p&#62;It is in no way a hack and is actually the recommended way to bring up servers in production. This guarantees a more stable layout, one that you have provided. The EC2Snitch and BriskSnitch are convenience snitches, of sorts.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.datastax.com/docs/0.8/operations/datacenter&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/0.8/operations/datacenter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The link above shows DC1 and DC2 being created. (Ignore the creation of racks, since you won't know this information from EC2.)&#60;/p&#62;
&#60;p&#62;Then for the strategy options you would change both brisk_system and cfs to from [Brisk:1, Cassandra:0] to [DC1: 1, DC2: 1] using these lines:&#60;/p&#62;
&#60;p&#62;update keyspace brisk_system with strategy_options = [{DC1:1, DC2:1}];&#60;br /&#62;
update keyspace cfs with strategy_options = [{DC1:1, DC2:1}];&#60;/p&#62;
&#60;p&#62;Let me know if you still have issues or concerns.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-497</link>
			<pubDate>Fri, 09 Sep 2011 14:57:46 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">497@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Joaquin,&#60;/p&#62;
&#60;p&#62;I'm confused here.  How could I use the NetworkTopologyProperties without using the Property File snitch or am I missing something.  Could you possibly provide a sample keyspace update statement?  I would imaging this is a question many people would have who are changing to Brisk.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-494</link>
			<pubDate>Thu, 08 Sep 2011 23:36:10 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">494@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I'm sorry, Jackson has brought the internal workings of the EC2Snitch to my attention. I thought availability zones mapped to datacenters, but it turns out regions:azs map to dcs:racks.&#60;/p&#62;
&#60;p&#62;Sorry for the confusion.&#60;/p&#62;
&#60;p&#62;So what you would need to do is use the NetworkTopologyProperties to set the availability zones to map to Datacenters. Once that happens, then you would be able to follow the rest of what I had posted.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-493</link>
			<pubDate>Thu, 08 Sep 2011 18:37:23 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">493@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The way that racks normally work is like this:&#60;br /&#62;
&#60;a href=&#34;http://www.datastax.com/docs/0.8/operations/datacenter&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/0.8/operations/datacenter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;What I was suggesting was leaving everything as is for the EC2Snitch, but when you see a Strategy option of ['Brisk':1, 'Cassandra': 0], change this to ['az1': 1, 'az2':1, Cassandra:'0'], for the names that show up naturally with the EC2Snitch, since this has currently slipped my mind. Using this form of replication, will ensure that the data is available in each of the availability zones.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-492</link>
			<pubDate>Thu, 08 Sep 2011 12:23:41 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">492@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Does that mean that Brisk natively looks at the &#34;rack&#34; name for replication placement?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-491</link>
			<pubDate>Wed, 07 Sep 2011 18:41:31 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">491@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;With regarding Brisk, the BriskSimpleSnitch uses DataCenter name &#34;Brisk&#34; and &#34;Cassandra&#34;, and Rack name as &#34;rack1&#34;. Basically if a Cassandra node is running with a task tracker, then the DataCenter that this node belongs to would be noted as &#34;Brisk&#34;, otherwise it would be &#34;Cassandra&#34;.&#60;/p&#62;
&#60;p&#62;What you can do is change the strategy_options to use the EC2Snitch names. To do so, access the cassandra-cli, and update the keyspace strategy_options to not use Brisk and Cassandra and instead use the EC2Snitch names.&#60;/p&#62;
&#60;p&#62;Due keep &#60;a href=&#34;https://issues.apache.org/jira/browse/CASSANDRA-3114&#34; rel=&#34;nofollow&#34;&#62;https://issues.apache.org/jira/browse/CASSANDRA-3114&#60;/a&#62; in mind since you may hit this bug during your changes.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-490</link>
			<pubDate>Wed, 07 Sep 2011 14:33:45 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">490@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;We are deploying all nodes as Brisk nodes (with hadoop enabled).  How would I go about using propertyfile snitch without making the system blow up?&#60;/p&#62;
&#60;p&#62;Does the datacenter name have to be &#34;Brisk&#34;?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-489</link>
			<pubDate>Tue, 06 Sep 2011 17:45:14 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">489@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;If you were to start up nodes in availability zone 1 with the task tracker enabled, and others in availability zone 2 as just vanilla Cassandra, then Brisk would be able to find itself without issue, split into two datacenters, and you ensure that each part of the ring is in different availability zones.&#60;/p&#62;
&#60;p&#62;You could also setup the propertyfile snitch, and keep them the same on all machines, which would be the most robust way to manage such a cluster.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "ec2snitch/propertyfile snitches + Brisk Datacenter Name"</title>
			<link>http://www.datastax.com/support-forums/topic/ec2snitchpropertyfile-snitches-brisk-datacenter-name#post-488</link>
			<pubDate>Tue, 06 Sep 2011 13:18:36 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">488@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I am setting up Brisk on EC2 in a multi-az setup.  I had used the ec2snitch with Apache Cassandra but we need the capabilities Brisk provides.  From what I can tell, Brisk uses very custom datacenter names to ensure replication factors.  I did try setting up the ec2snitch in the cassandra.yaml file and the system immediately halted and I had to revert to the BriskSimpleSnitch.&#60;/p&#62;
&#60;p&#62;So here is my problem.&#60;/p&#62;
&#60;p&#62;I need to ensure the data is in two datacenters.  I have puppet running so I could derive a custom fact in ERB and put that into the property file (but I don't know if that is even used in the default yaml file).  Ideally we would like to have the ec2snitch work, but that snitch then messes with the datacenter name and causes Brisk to halt due to replicas being under the allowed limit.  My quesiton is this: is there a custom ec2snitch for Brisk which will fix this or can I fix this some other way (propertyfile snitch if it works and custom facts)?  I would like to avoid the propertyfile hack at all costs, but I need to ensure our data is in multiple AZ's.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Tom
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
