<?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: cannot decrease replication factor</title>
		<link>http://www.datastax.com/support-forums/topic/cannot-decrease-replication-factor</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 16:52:27 +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/cannot-decrease-replication-factor" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "cannot decrease replication factor"</title>
			<link>http://www.datastax.com/support-forums/topic/cannot-decrease-replication-factor#post-1324</link>
			<pubDate>Wed, 07 Mar 2012 13:48:56 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1324@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It works, thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "cannot decrease replication factor"</title>
			<link>http://www.datastax.com/support-forums/topic/cannot-decrease-replication-factor#post-1322</link>
			<pubDate>Wed, 07 Mar 2012 12:02:44 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1322@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thank you for the answer, and Yes, it's 0.74 version.&#60;br /&#62;
My boss said upgrade to 1.0 isn't so transparent.  It has some client issues.&#60;br /&#62;
I'll try this UPDATE and send feedback asap.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "cannot decrease replication factor"</title>
			<link>http://www.datastax.com/support-forums/topic/cannot-decrease-replication-factor#post-1309</link>
			<pubDate>Tue, 06 Mar 2012 18:42:07 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1309@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It looks like you are on a 0.7.x version of cassandra. Firstly, I would recommend upgrading.&#60;/p&#62;
&#60;p&#62;In 0.7 I think the syntax for updating the replication factor is:&#60;/p&#62;
&#60;p&#62;UPDATE KEYSPACE CRUISE_FRONTEND WITH replication_factor=1;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "cannot decrease replication factor"</title>
			<link>http://www.datastax.com/support-forums/topic/cannot-decrease-replication-factor#post-1258</link>
			<pubDate>Wed, 29 Feb 2012 19:08:17 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1258@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi, I want to rebalance a two-node-imbalanced cluster with the MOVE clause.&#60;/p&#62;
&#60;p&#62;   /usr/local/apache-cassandra-0.7.4/bin/nodetool -h localhost -p 8180 move 0&#60;/p&#62;
&#60;p&#62;When I run the command it fails&#60;/p&#62;
&#60;p&#62;   Exception in thread &#34;main&#34; java.lang.IllegalStateException: replication factor (2) exceeds number of endpoints (1)&#60;/p&#62;
&#60;p&#62;Interpreting the error message, I try to decrease replication_factor with no success&#60;/p&#62;
&#60;p&#62;# /usr/local/apache-cassandra-0.7.4/bin/cassandra-cli&#60;br /&#62;
Welcome to cassandra CLI.&#60;/p&#62;
&#60;p&#62;Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit.&#60;br /&#62;
[default@unknown] connect 10.215.218.128/9160;&#60;br /&#62;
Connected to: &#34;Test Cluster 0.7.4&#34; on 10.215.218.128/9160&#60;br /&#62;
[default@unknown] describe keyspace CRUISE_FRONTEND;&#60;br /&#62;
WARNING: Could not connect to the JMX on 10.215.218.128:8080, information won't be shown.&#60;/p&#62;
&#60;p&#62;Keyspace: CRUISE_FRONTEND:&#60;br /&#62;
  Replication Strategy: org.apache.cassandra.locator.SimpleStrategy&#60;br /&#62;
    Replication Factor: 2&#60;br /&#62;
  Column Families:&#60;br /&#62;
    ColumnFamily: cruise_userSession_data&#60;br /&#62;
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType&#60;br /&#62;
      Row cache size / save period: 0.0/0&#60;br /&#62;
      Key cache size / save period: 20000.0/3600&#60;br /&#62;
      Memtable thresholds: 0.29/255/59&#60;br /&#62;
      GC grace seconds: 864000&#60;br /&#62;
      Compaction min/max thresholds: 2/11&#60;br /&#62;
      Read repair chance: 1.0&#60;/p&#62;
&#60;p&#62;[default@unknown] UPDATE KEYSPACE CRUISE_FRONTEND WITH strategy_options = [{replication_factor:1}];&#60;br /&#62;
38d50bf5-6308-11e1-ba07-47a5949fc98a&#60;br /&#62;
Waiting for schema agreement...&#60;br /&#62;
... schemas agree across the cluster&#60;/p&#62;
&#60;p&#62;[default@unknown] describe keyspace CRUISE_FRONTEND;&#60;br /&#62;
WARNING: Could not connect to the JMX on 10.215.218.128:8080, information won't be shown.&#60;/p&#62;
&#60;p&#62;Keyspace: CRUISE_FRONTEND:&#60;br /&#62;
  Replication Strategy: org.apache.cassandra.locator.SimpleStrategy&#60;br /&#62;
    Replication Factor: 2&#60;br /&#62;
  Column Families:&#60;br /&#62;
    ColumnFamily: cruise_userSession_data&#60;br /&#62;
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType&#60;br /&#62;
      Row cache size / save period: 0.0/0&#60;br /&#62;
      Key cache size / save period: 20000.0/3600&#60;br /&#62;
      Memtable thresholds: 0.29/255/59&#60;br /&#62;
      GC grace seconds: 864000&#60;br /&#62;
      Compaction min/max thresholds: 2/11&#60;br /&#62;
      Read repair chance: 1.0&#60;/p&#62;
&#60;p&#62;What's wrong?&#60;/p&#62;
&#60;p&#62;Fernando.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
