forked from cassandra-rb/cassandra
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted storage-conf.xml to 0.7's cassandra.yaml
- Loading branch information
Philip (flip) Kromer
committed
Sep 27, 2010
1 parent
acc4d37
commit 6a3b72e
Showing
1 changed file
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Cassandra YAML generated from previous config | ||
# Configuration wiki: http://wiki.apache.org/cassandra/StorageConfiguration | ||
|
||
cluster_name: Test | ||
|
||
listen_address: localhost | ||
storage_port: 7000 | ||
rpc_port: 9160 | ||
seeds: | ||
- 127.0.0.1 | ||
data_file_directories: | ||
- data/cassandra/data | ||
commitlog_directory: data/cassandra/commitlog | ||
auto_bootstrap: false | ||
partitioner: org.apache.cassandra.dht.RandomPartitioner | ||
authenticator: org.apache.cassandra.auth.AllowAllAuthenticator | ||
|
||
binary_memtable_throughput_in_mb: 256 | ||
column_index_size_in_kb: 64 | ||
commitlog_rotation_threshold_in_mb: 128 | ||
commitlog_sync: periodic | ||
commitlog_sync_period_in_ms: 10000 | ||
concurrent_reads: 8 | ||
concurrent_writes: 32 | ||
disk_access_mode: auto | ||
dynamic_snitch: false | ||
hinted_handoff_enabled: true | ||
in_memory_compaction_limit_in_mb: 256 | ||
memtable_flush_after_mins: 60 | ||
memtable_operations_in_millions: 0.3 | ||
memtable_throughput_in_mb: 64 | ||
phi_convict_threshold: 8 | ||
rpc_timeout_in_ms: 5000 | ||
sliced_buffer_size_in_kb: 64 | ||
snapshot_before_compaction: false | ||
thrift_framed_transport_size_in_mb: 15 | ||
thrift_max_message_length_in_mb: 16 | ||
|
||
|
||
keyspaces: | ||
|
||
- name: Twitter | ||
replication_factor: 1 | ||
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy | ||
column_families: | ||
- name: Users | ||
compare_with: UTF8Type | ||
- name: UserAudits | ||
compare_with: UTF8Type | ||
- name: UserRelationships | ||
compare_with: UTF8Type | ||
column_type: Super | ||
compare_subcolumns_with: TimeUUIDType | ||
- name: Usernames | ||
compare_with: UTF8Type | ||
- name: Statuses | ||
compare_with: UTF8Type | ||
- name: StatusAudits | ||
compare_with: UTF8Type | ||
- name: StatusRelationships | ||
compare_with: UTF8Type | ||
column_type: Super | ||
compare_subcolumns_with: TimeUUIDType | ||
- name: Index | ||
compare_with: UTF8Type | ||
column_type: Super | ||
- name: TimelinishThings | ||
compare_with: BytesType | ||
column_type: Standard | ||
|
||
- name: Multiblog | ||
replication_factor: 1 | ||
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy | ||
column_families: | ||
- name: Blogs | ||
compare_with: TimeUUIDType | ||
- name: Comments | ||
compare_with: TimeUUIDType | ||
|
||
- name: MultiblogLong | ||
replication_factor: 1 | ||
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy | ||
column_families: | ||
- name: Blogs | ||
compare_with: LongType | ||
- name: Comments | ||
compare_with: LongType | ||
|
||
- name: CassandraObject | ||
replication_factor: 1 | ||
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy | ||
column_families: | ||
- name: Customers | ||
compare_with: UTF8Type | ||
- name: CustomerRelationships | ||
compare_with: UTF8Type | ||
column_type: Super | ||
compare_subcolumns_with: TimeUUIDType | ||
- name: CustomersByLastName | ||
compare_with: TimeUUIDType | ||
- name: Invoices | ||
compare_with: UTF8Type | ||
- name: InvoiceRelationships | ||
compare_with: UTF8Type | ||
column_type: Super | ||
compare_subcolumns_with: TimeUUIDType | ||
- name: InvoicesByNumber | ||
compare_with: UTF8Type | ||
- name: Payments | ||
compare_with: UTF8Type | ||
- name: Appointments | ||
compare_with: UTF8Type | ||
|