Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update 0.8 schema to use LocalStrategy.

  • Loading branch information...
commit 21b926f84a85441d67a91c024fce3bc501a13bc3 1 parent 692a42a
Robert Jackson authored
Showing with 6 additions and 6 deletions.
  1. +1 −1  conf/0.8/log4j-server.properties
  2. +5 −5 conf/0.8/schema.txt
View
2  conf/0.8/log4j-server.properties
@@ -18,7 +18,7 @@
# (%l is slower.)
# output messages into a rolling log file as well as stdout
-log4j.rootLogger=DEBUG,stdout,R
+log4j.rootLogger=INFO,stdout,R
# stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
View
10 conf/0.8/schema.txt
@@ -1,5 +1,5 @@
create keyspace Twitter with
- placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND
+ placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' AND
strategy_options = [{replication_factor:1}];
use Twitter;
create column family Users with comparator = 'UTF8Type';
@@ -17,7 +17,7 @@ create column family UserRelationships with
create column family Usernames with comparator = 'UTF8Type';
create column family Statuses with comparator = 'UTF8Type';
create column family StatusAudits with comparator = 'UTF8Type';
-create column family StatusRelationships with
+create column family StatusRelationships with
comparator = 'UTF8Type' and
column_type = 'Super' and
subcomparator = 'TimeUUIDType';
@@ -28,7 +28,7 @@ create column family TimelinishThings with
comparator = 'BytesType';
create keyspace Multiblog with
- placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND
+ placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' AND
strategy_options = [{replication_factor:1}];
use Multiblog;
create column family Blogs with comparator = 'TimeUUIDType';
@@ -36,14 +36,14 @@ create column family Comments with comparator = 'TimeUUIDType';
create keyspace MultiblogLong with
- placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND
+ placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' AND
strategy_options = [{replication_factor:1}];
use MultiblogLong;
create column family Blogs with comparator = 'LongType';
create column family Comments with comparator = 'LongType';
create keyspace TypeConversions with
- placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND
+ placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' AND
strategy_options = [{replication_factor:1}];
use TypeConversions;
create column family UUIDColumnConversion with comparator = TimeUUIDType;
Please sign in to comment.
Something went wrong with that request. Please try again.