<?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: Cassandra Replication Help Required.</title>
		<link>http://www.datastax.com/support-forums/topic/cassandra-replication-help-required</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 08:59:33 +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/cassandra-replication-help-required" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Cassandra Replication Help Required."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-replication-help-required#post-1725</link>
			<pubDate>Fri, 20 Apr 2012 09:08:05 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1725@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;One more thing if I create keyspace using client to 127.0.0.1 then it dosenot create to 127.0.0.2.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Cassandra Replication Help Required."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-replication-help-required#post-1723</link>
			<pubDate>Fri, 20 Apr 2012 07:45:47 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1723@http://www.datastax.com/support-forums/</guid>
			<description>&#60;br /&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Cassandra Replication Help Required."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-replication-help-required#post-1722</link>
			<pubDate>Fri, 20 Apr 2012 07:44:48 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1722@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;nickmbailey thanks for your message but unfortunately it's not working. Well I have one node cluster and I have divided into two address 127.0.0.1 and 127.0.0.2. Using Cassandra Client if I try to insert the data into 127.0.0.1. The data successfully gets add for 127.0.0.1 and I can view it also but If I try to connect to view from 127.0.0.2, I cannot see any update. There is no data.&#60;/p&#62;
&#60;p&#62;I think I was unable to explain it well last time.Here is what I did copied two cassandra into different folders with the name Cassandra 1 and Cassandra 2 on same node. Update the Cassandra.yaml accordingly.&#60;/p&#62;
&#60;p&#62;1&#60;/p&#62;
&#60;p&#62;cluster_name: 'Test Cluster'&#60;br /&#62;
initial_token:&#60;br /&#62;
data_file_directories:&#60;br /&#62;
    - /Cassandra/1/var/lib/cassandra/data&#60;/p&#62;
&#60;p&#62;# commit log&#60;br /&#62;
commitlog_directory: /Cassandra/1/var/lib/cassandra/commitlog&#60;/p&#62;
&#60;p&#62;# saved caches&#60;br /&#62;
saved_caches_directory: /Cassandra/1/var/lib/cassandra/saved_caches&#60;/p&#62;
&#60;p&#62; - seeds: &#34;127.0.0.1,127.0.0.2&#34;&#60;/p&#62;
&#60;p&#62;listen_address: 127.0.0.1&#60;/p&#62;
&#60;p&#62;rpc_address: 127.0.0.1&#60;/p&#62;
&#60;p&#62;2&#60;/p&#62;
&#60;p&#62;cluster_name: 'Test Cluster'&#60;br /&#62;
initial_token:&#60;br /&#62;
data_file_directories:&#60;br /&#62;
    - /Cassandra/2/var/lib/cassandra/data&#60;/p&#62;
&#60;p&#62;# commit log&#60;br /&#62;
commitlog_directory: /Cassandra/2/var/lib/cassandra/commitlog&#60;/p&#62;
&#60;p&#62;# saved caches&#60;br /&#62;
saved_caches_directory: /Cassandra/1/var/lib/cassandra/saved_caches&#60;/p&#62;
&#60;p&#62; - seeds: &#34;127.0.0.1,127.0.0.2&#34;&#60;/p&#62;
&#60;p&#62;listen_address: 127.0.0.2&#60;/p&#62;
&#60;p&#62;rpc_address: 127.0.0.2&#60;/p&#62;
&#60;p&#62;The others settings are the default setting and I have not modified anything. Then I create a keyspace and column family using&#60;/p&#62;
&#60;p&#62;CREATE KEYSPACE demo&#60;br /&#62;
with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy'&#60;br /&#62;
and strategy_options = [{replication_factor:2}]; &#60;/p&#62;
&#60;p&#62;use demo; &#60;/p&#62;
&#60;p&#62;create column family order with comparator=UTF8Type and key_validation_class=UTF8Type and default_validation_class=UTF8Type and column_metadata=[{column_name: member, validation_class: UTF8Type},{column_name: user, validation_class: UTF8Type, index_type: KEYS},{column_name: instrument, validation_class: UTF8Type},{column_name: price, validation_class: DoubleType}, {column_name: quantity, validation_class: Int32Type},{column_name:datetime, validation_class: DateType}]; &#60;/p&#62;
&#60;p&#62;Now if I try to connect to 127.0.0.1 and insert the data, I belive that data should be inserted for both 127.0.0.1 and 127.0.0.2&#60;/p&#62;
&#60;p&#62;Is there anything wrong ? What should I do to make it workable.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Cassandra Replication Help Required."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-replication-help-required#post-1710</link>
			<pubDate>Thu, 19 Apr 2012 15:49:04 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1710@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The replication_factor setting indicates how many individual nodes to store data on. Since you are only using a 1 node installation, a replication factor of 2 is invalid. If you change the replication factor to 1, things should work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Cassandra Replication Help Required."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-replication-help-required#post-1709</link>
			<pubDate>Thu, 19 Apr 2012 13:58:36 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1709@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Everyone, &#60;/p&#62;
&#60;p&#62;I have configured the cassandra cluster on single window machine and I am trying to insert the data but somehow I am not able to get replication (Same node with two replication). Here is what I am doing. &#60;/p&#62;
&#60;p&#62;CREATE KEYSPACE demo&#60;br /&#62;
with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy'&#60;br /&#62;
and strategy_options = [{replication_factor:2}]; &#60;/p&#62;
&#60;p&#62;use demo; &#60;/p&#62;
&#60;p&#62;create column family order with comparator=UTF8Type and key_validation_class=UTF8Type and default_validation_class=UTF8Type and column_metadata=[{column_name: member, validation_class: UTF8Type},{column_name: user, validation_class: UTF8Type, index_type: KEYS},{column_name: instrument, validation_class: UTF8Type},{column_name: price, validation_class: DoubleType}, {column_name: quantity, validation_class: Int32Type},{column_name:datetime, validation_class: DateType}]; &#60;/p&#62;
&#60;p&#62;set[KEY]['member'] = 'Ansar';&#60;/p&#62;
&#60;p&#62;it works fine if I get it from the same client but when I try to get it from different client using different server then it return 0 rows which means there is replication problem.&#60;/p&#62;
&#60;p&#62;Can you please help me out, how I can insert the data in both nodes ? &#60;/p&#62;
&#60;p&#62;-Ansar
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
