changed voldemort settings to single server

This commit is contained in:
Jonas Boner 2009-03-12 00:32:23 +01:00
parent d50671da2f
commit 41b3221701
5 changed files with 21 additions and 40 deletions

View file

@ -1,5 +1,5 @@
<log>
filename = "./akka.log"
filename = "./logs/akka.log"
roll = "daily" # Options: never, hourly, daily, sunday/monday/...
level = "warning" # Options: fatal, critical, error, warning, info, debug, trace
console = on
@ -9,6 +9,10 @@
# <kernel>
# node = "com.scalablesolutions.akka.kernel"
# level = "debug"
# </facade>
# </kernel>
# <supervisor>
# node = "com.scalablesolutions.akka.supervisor"
# level = "debug"
# </supervisor>
</log>

View file

@ -1,5 +1,5 @@
<cluster>
<name>mycluster</name>
<name>akka</name>
<server>
<id>0</id>
<host>localhost</host>
@ -7,11 +7,4 @@
<socket-port>6666</socket-port>
<partitions>0, 1</partitions>
</server>
<server>
<id>1</id>
<host>localhost</host>
<http-port>8082</http-port>
<socket-port>6667</socket-port>
<partitions>2, 3</partitions>
</server>
</cluster>
</cluster>

View file

@ -42,3 +42,4 @@ org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
#============================================================================
#org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingJobHistoryPlugin

View file

@ -7,7 +7,6 @@ max.threads=100
http.enable=true
socket.enable=true
jmx.enable=true
# BDB
bdb.sync.transactions=false
@ -18,4 +17,8 @@ mysql.host=localhost
mysql.port=1521
mysql.user=root
mysql.password=3306
mysql.database=test
mysql.database=test
#ReadOnly
enable.readonly.engine=true

View file

@ -1,38 +1,18 @@
<stores>
<!-- Note that "test" store requires 2 reads and writes,
so to use this store you must have both nodes started and running -->
<store>
<name>snapshots</name>
<name>snapshot</name>
<persistence>bdb</persistence>
<routing>client</routing>
<replication-factor>2</replication-factor>
<required-reads>2</required-reads>
<required-writes>2</required-writes>
<replication-factor>1</replication-factor>
<required-reads>1</required-reads>
<required-writes>1</required-writes>
<key-serializer>
<type>json</type>
<schema-info>"int32"</schema-info>
<schema-info>"string"</schema-info>
</key-serializer>
<value-serializer>
<type>json</type>
<schema-info>{"a":"int32"}</schema-info>
<schema-info>"string"</schema-info>
</value-serializer>
<retention-days>1</retention-days>
</store>
<store>
<name>events</name>
<persistence>bdb</persistence>
<routing>client</routing>
<replication-factor>2</replication-factor>
<required-reads>2</required-reads>
<required-writes>2</required-writes>
<key-serializer>
<type>json</type>
<schema-info>"int32"</schema-info>
</key-serializer>
<value-serializer>
<type>json</type>
<schema-info>{"a":"int32"}</schema-info>
</value-serializer>
<retention-days>1</retention-days>
</store>
</stores>
</stores>