changed voldemort settings to single server
This commit is contained in:
parent
d50671da2f
commit
41b3221701
5 changed files with 21 additions and 40 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<log>
|
<log>
|
||||||
filename = "./akka.log"
|
filename = "./logs/akka.log"
|
||||||
roll = "daily" # Options: never, hourly, daily, sunday/monday/...
|
roll = "daily" # Options: never, hourly, daily, sunday/monday/...
|
||||||
level = "warning" # Options: fatal, critical, error, warning, info, debug, trace
|
level = "warning" # Options: fatal, critical, error, warning, info, debug, trace
|
||||||
console = on
|
console = on
|
||||||
|
|
@ -9,6 +9,10 @@
|
||||||
# <kernel>
|
# <kernel>
|
||||||
# node = "com.scalablesolutions.akka.kernel"
|
# node = "com.scalablesolutions.akka.kernel"
|
||||||
# level = "debug"
|
# level = "debug"
|
||||||
# </facade>
|
# </kernel>
|
||||||
|
# <supervisor>
|
||||||
|
# node = "com.scalablesolutions.akka.supervisor"
|
||||||
|
# level = "debug"
|
||||||
|
# </supervisor>
|
||||||
</log>
|
</log>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<cluster>
|
<cluster>
|
||||||
<name>mycluster</name>
|
<name>akka</name>
|
||||||
<server>
|
<server>
|
||||||
<id>0</id>
|
<id>0</id>
|
||||||
<host>localhost</host>
|
<host>localhost</host>
|
||||||
|
|
@ -7,11 +7,4 @@
|
||||||
<socket-port>6666</socket-port>
|
<socket-port>6666</socket-port>
|
||||||
<partitions>0, 1</partitions>
|
<partitions>0, 1</partitions>
|
||||||
</server>
|
</server>
|
||||||
<server>
|
</cluster>
|
||||||
<id>1</id>
|
|
||||||
<host>localhost</host>
|
|
||||||
<http-port>8082</http-port>
|
|
||||||
<socket-port>6667</socket-port>
|
|
||||||
<partitions>2, 3</partitions>
|
|
||||||
</server>
|
|
||||||
</cluster>
|
|
||||||
|
|
|
||||||
|
|
@ -42,3 +42,4 @@ org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
|
||||||
#============================================================================
|
#============================================================================
|
||||||
|
|
||||||
#org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingJobHistoryPlugin
|
#org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingJobHistoryPlugin
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ max.threads=100
|
||||||
|
|
||||||
http.enable=true
|
http.enable=true
|
||||||
socket.enable=true
|
socket.enable=true
|
||||||
jmx.enable=true
|
|
||||||
|
|
||||||
# BDB
|
# BDB
|
||||||
bdb.sync.transactions=false
|
bdb.sync.transactions=false
|
||||||
|
|
@ -18,4 +17,8 @@ mysql.host=localhost
|
||||||
mysql.port=1521
|
mysql.port=1521
|
||||||
mysql.user=root
|
mysql.user=root
|
||||||
mysql.password=3306
|
mysql.password=3306
|
||||||
mysql.database=test
|
mysql.database=test
|
||||||
|
|
||||||
|
#ReadOnly
|
||||||
|
enable.readonly.engine=true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,38 +1,18 @@
|
||||||
<stores>
|
<stores>
|
||||||
<!-- Note that "test" store requires 2 reads and writes,
|
|
||||||
so to use this store you must have both nodes started and running -->
|
|
||||||
<store>
|
<store>
|
||||||
<name>snapshots</name>
|
<name>snapshot</name>
|
||||||
<persistence>bdb</persistence>
|
<persistence>bdb</persistence>
|
||||||
<routing>client</routing>
|
<routing>client</routing>
|
||||||
<replication-factor>2</replication-factor>
|
<replication-factor>1</replication-factor>
|
||||||
<required-reads>2</required-reads>
|
<required-reads>1</required-reads>
|
||||||
<required-writes>2</required-writes>
|
<required-writes>1</required-writes>
|
||||||
<key-serializer>
|
<key-serializer>
|
||||||
<type>json</type>
|
<type>json</type>
|
||||||
<schema-info>"int32"</schema-info>
|
<schema-info>"string"</schema-info>
|
||||||
</key-serializer>
|
</key-serializer>
|
||||||
<value-serializer>
|
<value-serializer>
|
||||||
<type>json</type>
|
<type>json</type>
|
||||||
<schema-info>{"a":"int32"}</schema-info>
|
<schema-info>"string"</schema-info>
|
||||||
</value-serializer>
|
</value-serializer>
|
||||||
<retention-days>1</retention-days>
|
|
||||||
</store>
|
</store>
|
||||||
<store>
|
</stores>
|
||||||
<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>
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue