Skip to content

Commit

Permalink
Add dummy-stores.xml + Update the path in script
Browse files Browse the repository at this point in the history
  • Loading branch information
voldemort authored and jayjwylie committed Jun 20, 2013
1 parent 803d7dd commit d2848a1
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rebalance-new-cluster.sh
Expand Up @@ -34,7 +34,7 @@ usage_and_exit() {
-v Path to Voldemort
-c Current Cluster that desribes the cluster.
-s Current Stores that desribes the store. If you do not have info about the stores yet, use
'test/rebalance-scripts/test-data/dummy-stores.xml' from the gitli repo.
'config/tools/dummy-stores.xml' from the gitli repo.
-o Output dir where all interim and final files will be stored.
The directory will be created if it does not exist yet.
EOF
Expand Down
77 changes: 77 additions & 0 deletions config/tools/dummy-stores.xml
@@ -0,0 +1,77 @@
<stores>
<store>
<name>dummy_322_one</name>
<persistence>bdb</persistence>
<routing-strategy>zone-routing</routing-strategy>
<routing>client</routing>
<replication-factor>6</replication-factor>
<zone-replication-factor>
<replication-factor zone-id="0">3</replication-factor>
<replication-factor zone-id="1">3</replication-factor>
</zone-replication-factor>
<required-reads>2</required-reads>
<required-writes>2</required-writes>
<zone-count-reads>0</zone-count-reads>
<zone-count-writes>0</zone-count-writes>
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy>
<key-serializer>
<type>json</type>
<schema-info version="0">"string"</schema-info>
</key-serializer>
<value-serializer>
<type>json</type>
<schema-info version="0">[{'opt_out_list':'string'}]</schema-info>
</value-serializer>
</store>
<store>
<name>dummy_322_two</name>
<persistence>bdb</persistence>
<routing-strategy>zone-routing</routing-strategy>
<routing>client</routing>
<replication-factor>6</replication-factor>
<zone-replication-factor>
<replication-factor zone-id="0">3</replication-factor>
<replication-factor zone-id="1">3</replication-factor>
</zone-replication-factor>
<required-reads>2</required-reads>
<required-writes>2</required-writes>
<zone-count-reads>0</zone-count-reads>
<zone-count-writes>0</zone-count-writes>
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy>
<key-serializer>
<type>json</type>
<schema-info version="0">"string"</schema-info>
</key-serializer>
<value-serializer>
<type>json</type>
<schema-info version="0">[{'opt_out_list':'string'}]</schema-info>
</value-serializer>
</store>
<store>
<name>dummy_211_one</name>
<persistence>bdb</persistence>
<routing-strategy>zone-routing</routing-strategy>
<routing>client</routing>
<replication-factor>4</replication-factor>
<zone-replication-factor>
<replication-factor zone-id="0">2</replication-factor>
<replication-factor zone-id="1">2</replication-factor>
</zone-replication-factor>
<preferred-reads>2</preferred-reads>
<required-reads>1</required-reads>
<preferred-writes>1</preferred-writes>
<required-writes>1</required-writes>
<zone-count-reads>0</zone-count-reads>
<zone-count-writes>0</zone-count-writes>
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy>
<key-serializer>
<type>string</type>
<schema-info version="0">UTF-8</schema-info>
</key-serializer>
<value-serializer>
<type>string</type>
<schema-info version="0">UTF-8</schema-info>
</value-serializer>
<retention-days>14</retention-days>
</store>
</stores>

0 comments on commit d2848a1

Please sign in to comment.