cassilds 0.9.2 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +51 -1
- data/LICENSE +0 -0
- data/Manifest +25 -7
- data/README.md +352 -0
- data/Rakefile +169 -1
- data/cassilds.gemspec +45 -0
- data/conf/{cassandra.in.sh → 0.6/cassandra.in.sh} +0 -0
- data/conf/{log4j.properties → 0.6/log4j.properties} +0 -0
- data/conf/0.6/schema.json +57 -0
- data/conf/{storage-conf.xml → 0.6/storage-conf.xml} +15 -5
- data/conf/0.7/cassandra.in.sh +46 -0
- data/conf/0.7/cassandra.yaml +336 -0
- data/conf/0.7/log4j-server.properties +41 -0
- data/conf/0.7/schema.json +57 -0
- data/conf/0.7/schema.txt +45 -0
- data/conf/0.8/cassandra.in.sh +41 -0
- data/conf/0.8/cassandra.yaml +61 -0
- data/conf/0.8/log4j-server.properties +40 -0
- data/conf/0.8/schema.json +66 -0
- data/conf/0.8/schema.txt +51 -0
- data/lib/cassandra/0.6/cassandra.rb +58 -13
- data/lib/cassandra/0.6/columns.rb +43 -0
- data/lib/cassandra/0.6/protocol.rb +16 -18
- data/lib/cassandra/0.6.rb +0 -0
- data/lib/cassandra/0.7/cassandra.rb +0 -270
- data/lib/cassandra/0.7/columns.rb +1 -64
- data/lib/cassandra/0.7/protocol.rb +0 -134
- data/lib/cassandra/0.7.rb +0 -0
- data/lib/cassandra/0.8/cassandra.rb +10 -0
- data/lib/cassandra/0.8/columns.rb +4 -0
- data/lib/cassandra/0.8/protocol.rb +23 -0
- data/lib/cassandra/0.8.rb +7 -0
- data/lib/cassandra/array.rb +0 -0
- data/lib/cassandra/cassandra.rb +877 -111
- data/lib/cassandra/{0.7/column_family.rb → column_family.rb} +0 -0
- data/lib/cassandra/columns.rb +72 -6
- data/lib/cassandra/comparable.rb +0 -0
- data/lib/cassandra/constants.rb +0 -0
- data/lib/cassandra/debug.rb +0 -0
- data/lib/cassandra/helpers.rb +1 -0
- data/lib/cassandra/{0.7/keyspace.rb → keyspace.rb} +0 -0
- data/lib/cassandra/long.rb +5 -0
- data/lib/cassandra/mock.rb +259 -85
- data/lib/cassandra/ordered_hash.rb +10 -18
- data/lib/cassandra/protocol.rb +120 -0
- data/lib/cassandra/time.rb +0 -0
- data/lib/cassandra.rb +6 -7
- data/test/cassandra_client_test.rb +0 -0
- data/test/cassandra_mock_test.rb +52 -28
- data/test/cassandra_test.rb +465 -44
- data/test/comparable_types_test.rb +0 -0
- data/test/eventmachine_test.rb +30 -30
- data/test/ordered_hash_test.rb +6 -0
- data/test/test_helper.rb +3 -2
- data/vendor/0.6/gen-rb/cassandra.rb +0 -0
- data/vendor/0.6/gen-rb/cassandra_constants.rb +0 -0
- data/vendor/0.6/gen-rb/cassandra_types.rb +0 -0
- data/vendor/0.7/gen-rb/cassandra.rb +0 -0
- data/vendor/0.7/gen-rb/cassandra_constants.rb +0 -0
- data/vendor/0.7/gen-rb/cassandra_types.rb +4 -2
- data/vendor/0.8/gen-rb/cassandra.rb +2215 -0
- data/vendor/0.8/gen-rb/cassandra_constants.rb +12 -0
- data/vendor/0.8/gen-rb/cassandra_types.rb +816 -0
- metadata +50 -27
- data/README.rdoc +0 -83
- data/cassandra.gemspec +0 -46
- data/conf/cassandra.yaml +0 -113
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cassilds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,22 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2011-08-22 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thrift_client
|
17
|
-
requirement: &
|
17
|
+
requirement: &13688240 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.7.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *13688240
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: json
|
28
|
-
requirement: &
|
28
|
+
requirement: &13684500 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *13684500
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rake
|
39
|
-
requirement: &
|
39
|
+
requirement: &13681140 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *13681140
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: simple_uuid
|
50
|
-
requirement: &
|
50
|
+
requirement: &13679580 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.2.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *13679580
|
59
59
|
description: A Ruby client for the Cassandra distributed database.
|
60
60
|
email:
|
61
|
-
-
|
61
|
+
- contato@umanni.com
|
62
62
|
executables:
|
63
63
|
- cassandra_helper
|
64
64
|
extensions: []
|
65
65
|
extra_rdoc_files:
|
66
66
|
- CHANGELOG
|
67
67
|
- LICENSE
|
68
|
-
- README.
|
68
|
+
- README.md
|
69
69
|
- bin/cassandra_helper
|
70
70
|
- lib/cassandra.rb
|
71
71
|
- lib/cassandra/0.6.rb
|
@@ -74,32 +74,47 @@ extra_rdoc_files:
|
|
74
74
|
- lib/cassandra/0.6/protocol.rb
|
75
75
|
- lib/cassandra/0.7.rb
|
76
76
|
- lib/cassandra/0.7/cassandra.rb
|
77
|
-
- lib/cassandra/0.7/column_family.rb
|
78
77
|
- lib/cassandra/0.7/columns.rb
|
79
|
-
- lib/cassandra/0.7/keyspace.rb
|
80
78
|
- lib/cassandra/0.7/protocol.rb
|
79
|
+
- lib/cassandra/0.8.rb
|
80
|
+
- lib/cassandra/0.8/cassandra.rb
|
81
|
+
- lib/cassandra/0.8/columns.rb
|
82
|
+
- lib/cassandra/0.8/protocol.rb
|
81
83
|
- lib/cassandra/array.rb
|
82
84
|
- lib/cassandra/cassandra.rb
|
85
|
+
- lib/cassandra/column_family.rb
|
83
86
|
- lib/cassandra/columns.rb
|
84
87
|
- lib/cassandra/comparable.rb
|
85
88
|
- lib/cassandra/constants.rb
|
86
89
|
- lib/cassandra/debug.rb
|
87
90
|
- lib/cassandra/helpers.rb
|
91
|
+
- lib/cassandra/keyspace.rb
|
88
92
|
- lib/cassandra/long.rb
|
89
93
|
- lib/cassandra/mock.rb
|
90
94
|
- lib/cassandra/ordered_hash.rb
|
95
|
+
- lib/cassandra/protocol.rb
|
91
96
|
- lib/cassandra/time.rb
|
92
97
|
files:
|
93
98
|
- CHANGELOG
|
94
99
|
- LICENSE
|
95
100
|
- Manifest
|
96
|
-
- README.
|
101
|
+
- README.md
|
97
102
|
- Rakefile
|
98
103
|
- bin/cassandra_helper
|
99
|
-
- conf/cassandra.in.sh
|
100
|
-
- conf/
|
101
|
-
- conf/
|
102
|
-
- conf/storage-conf.xml
|
104
|
+
- conf/0.6/cassandra.in.sh
|
105
|
+
- conf/0.6/log4j.properties
|
106
|
+
- conf/0.6/schema.json
|
107
|
+
- conf/0.6/storage-conf.xml
|
108
|
+
- conf/0.7/cassandra.in.sh
|
109
|
+
- conf/0.7/cassandra.yaml
|
110
|
+
- conf/0.7/log4j-server.properties
|
111
|
+
- conf/0.7/schema.json
|
112
|
+
- conf/0.7/schema.txt
|
113
|
+
- conf/0.8/cassandra.in.sh
|
114
|
+
- conf/0.8/cassandra.yaml
|
115
|
+
- conf/0.8/log4j-server.properties
|
116
|
+
- conf/0.8/schema.json
|
117
|
+
- conf/0.8/schema.txt
|
103
118
|
- lib/cassandra.rb
|
104
119
|
- lib/cassandra/0.6.rb
|
105
120
|
- lib/cassandra/0.6/cassandra.rb
|
@@ -107,20 +122,25 @@ files:
|
|
107
122
|
- lib/cassandra/0.6/protocol.rb
|
108
123
|
- lib/cassandra/0.7.rb
|
109
124
|
- lib/cassandra/0.7/cassandra.rb
|
110
|
-
- lib/cassandra/0.7/column_family.rb
|
111
125
|
- lib/cassandra/0.7/columns.rb
|
112
|
-
- lib/cassandra/0.7/keyspace.rb
|
113
126
|
- lib/cassandra/0.7/protocol.rb
|
127
|
+
- lib/cassandra/0.8.rb
|
128
|
+
- lib/cassandra/0.8/cassandra.rb
|
129
|
+
- lib/cassandra/0.8/columns.rb
|
130
|
+
- lib/cassandra/0.8/protocol.rb
|
114
131
|
- lib/cassandra/array.rb
|
115
132
|
- lib/cassandra/cassandra.rb
|
133
|
+
- lib/cassandra/column_family.rb
|
116
134
|
- lib/cassandra/columns.rb
|
117
135
|
- lib/cassandra/comparable.rb
|
118
136
|
- lib/cassandra/constants.rb
|
119
137
|
- lib/cassandra/debug.rb
|
120
138
|
- lib/cassandra/helpers.rb
|
139
|
+
- lib/cassandra/keyspace.rb
|
121
140
|
- lib/cassandra/long.rb
|
122
141
|
- lib/cassandra/mock.rb
|
123
142
|
- lib/cassandra/ordered_hash.rb
|
143
|
+
- lib/cassandra/protocol.rb
|
124
144
|
- lib/cassandra/time.rb
|
125
145
|
- test/cassandra_client_test.rb
|
126
146
|
- test/cassandra_mock_test.rb
|
@@ -135,8 +155,11 @@ files:
|
|
135
155
|
- vendor/0.7/gen-rb/cassandra.rb
|
136
156
|
- vendor/0.7/gen-rb/cassandra_constants.rb
|
137
157
|
- vendor/0.7/gen-rb/cassandra_types.rb
|
138
|
-
- cassandra.
|
139
|
-
|
158
|
+
- vendor/0.8/gen-rb/cassandra.rb
|
159
|
+
- vendor/0.8/gen-rb/cassandra_constants.rb
|
160
|
+
- vendor/0.8/gen-rb/cassandra_types.rb
|
161
|
+
- cassilds.gemspec
|
162
|
+
homepage: https://github.com/umanni/cassilds
|
140
163
|
licenses: []
|
141
164
|
post_install_message:
|
142
165
|
rdoc_options:
|
@@ -145,7 +168,7 @@ rdoc_options:
|
|
145
168
|
- --title
|
146
169
|
- Cassandra
|
147
170
|
- --main
|
148
|
-
- README.
|
171
|
+
- README.md
|
149
172
|
require_paths:
|
150
173
|
- lib
|
151
174
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -162,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
185
|
version: '0.8'
|
163
186
|
requirements: []
|
164
187
|
rubyforge_project:
|
165
|
-
rubygems_version: 1.8.
|
188
|
+
rubygems_version: 1.8.10
|
166
189
|
signing_key:
|
167
190
|
specification_version: 3
|
168
191
|
summary: A Ruby client for the Cassandra distributed database.
|
data/README.rdoc
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
= cassandra
|
2
|
-
|
3
|
-
A Ruby client for the Cassandra distributed database.
|
4
|
-
|
5
|
-
== License
|
6
|
-
|
7
|
-
Copyright 2009, 2010 Twitter, Inc. See included LICENSE file. Portions copyright 2004-2009 David Heinemeier Hansson, and used with permission.
|
8
|
-
|
9
|
-
== Features
|
10
|
-
|
11
|
-
* clean encapsulation of the Thrift API
|
12
|
-
* compatible UUID and Long classes, for GUID generation
|
13
|
-
* Ruby 1.9 compatibility
|
14
|
-
|
15
|
-
The Github source repository is {here}[http://github.com/fauna/cassandra/]. Patches and contributions are very welcome.
|
16
|
-
|
17
|
-
== Installation
|
18
|
-
|
19
|
-
You need Ruby 1.8 or 1.9. If you have those, just run:
|
20
|
-
|
21
|
-
sudo gem install cassandra
|
22
|
-
|
23
|
-
Cassandra itself is a rapidly moving target. In order to get a working server, use the `bin/cassandra_helper` script:
|
24
|
-
|
25
|
-
cassandra_helper cassandra
|
26
|
-
|
27
|
-
A server will be installed in `$HOME/cassandra/server`, and started in debug mode.
|
28
|
-
|
29
|
-
WARNING: Don't use the test folder for your data, as it will get overwritten when you update the gem.
|
30
|
-
|
31
|
-
== Usage
|
32
|
-
|
33
|
-
Now, start IRb and require the library, which defaults to version 0.6 of the Cassandra API:
|
34
|
-
|
35
|
-
require 'cassandra'
|
36
|
-
|
37
|
-
Alternatively, you can specify a version of the Cassandra API to use:
|
38
|
-
|
39
|
-
require 'cassandra/0.6'
|
40
|
-
|
41
|
-
or
|
42
|
-
|
43
|
-
require 'cassandra/0.7'
|
44
|
-
|
45
|
-
Connect to a server and keyspace:
|
46
|
-
|
47
|
-
client = Cassandra.new('Twitter', '127.0.0.1:9160')
|
48
|
-
|
49
|
-
Login on server if the keyspace require authentication:
|
50
|
-
|
51
|
-
client.login!('username','password')
|
52
|
-
|
53
|
-
Insert into a column family. You can insert a `Cassandra::OrderedHash`, or a regular Hash, if order doesn't matter:
|
54
|
-
|
55
|
-
client.insert(:Users, "5", {'screen_name' => "buttonscat"})
|
56
|
-
|
57
|
-
Insert into a super column family:
|
58
|
-
|
59
|
-
client.insert(:UserRelationships, "5", {"user_timeline" => {UUID.new => "1"}})
|
60
|
-
|
61
|
-
Query a super column:
|
62
|
-
|
63
|
-
timeline = client.get(:UserRelationships, "5", "user_timeline")
|
64
|
-
|
65
|
-
The returned result will always be a Cassandra::OrderedHash.
|
66
|
-
|
67
|
-
See Cassandra for more methods.
|
68
|
-
|
69
|
-
== Configuration
|
70
|
-
|
71
|
-
By default, cassandra is setup to listen on localhost. If you want to move your clients to another host, you're going to need to change which interface it binds to in the storage-conf.xml. You should also change the seed address.
|
72
|
-
|
73
|
-
== Node Auto-Discovery
|
74
|
-
|
75
|
-
The list of hosts you pass to the client is only used to auto-discover all the nodes in your cluster. You don't need to give the client a list of all of your nodes.
|
76
|
-
|
77
|
-
== Further reading
|
78
|
-
|
79
|
-
* {Up and Running With Cassandra}[http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassandra]
|
80
|
-
|
81
|
-
== Reporting problems
|
82
|
-
|
83
|
-
The Github issue tracker is {here}[http://github.com/fauna/cassandra/issues]. If you have problems with this library or Cassandra itself, please use the {cassandra-user mailing list}[http://mail-archives.apache.org/mod_mbox/incubator-cassandra-user/].
|
data/cassandra.gemspec
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "cassandra/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "cassilds"
|
7
|
-
s.version = Cassandra::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0.8") if s.respond_to? :required_rubygems_version=
|
10
|
-
s.authors = ["Evan Weaver, Ryan King", "Umanni"]
|
11
|
-
s.date = %q{2010-12-08}
|
12
|
-
s.default_executable = %q{cassandra_helper}
|
13
|
-
s.description = %q{A Ruby client for the Cassandra distributed database.}
|
14
|
-
s.email = ["ygor@umanni.com"]
|
15
|
-
s.executables = ["cassandra_helper"]
|
16
|
-
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc", "bin/cassandra_helper", "lib/cassandra.rb", "lib/cassandra/0.6.rb", "lib/cassandra/0.6/cassandra.rb", "lib/cassandra/0.6/columns.rb", "lib/cassandra/0.6/protocol.rb", "lib/cassandra/0.7.rb", "lib/cassandra/0.7/cassandra.rb", "lib/cassandra/0.7/column_family.rb", "lib/cassandra/0.7/columns.rb", "lib/cassandra/0.7/keyspace.rb", "lib/cassandra/0.7/protocol.rb", "lib/cassandra/array.rb", "lib/cassandra/cassandra.rb", "lib/cassandra/columns.rb", "lib/cassandra/comparable.rb", "lib/cassandra/constants.rb", "lib/cassandra/debug.rb", "lib/cassandra/helpers.rb", "lib/cassandra/long.rb", "lib/cassandra/mock.rb", "lib/cassandra/ordered_hash.rb", "lib/cassandra/time.rb"]
|
17
|
-
s.files = ["CHANGELOG", "LICENSE", "Manifest", "README.rdoc", "Rakefile", "bin/cassandra_helper", "conf/cassandra.in.sh", "conf/cassandra.yaml", "conf/log4j.properties", "conf/storage-conf.xml", "lib/cassandra.rb", "lib/cassandra/0.6.rb", "lib/cassandra/0.6/cassandra.rb", "lib/cassandra/0.6/columns.rb", "lib/cassandra/0.6/protocol.rb", "lib/cassandra/0.7.rb", "lib/cassandra/0.7/cassandra.rb", "lib/cassandra/0.7/column_family.rb", "lib/cassandra/0.7/columns.rb", "lib/cassandra/0.7/keyspace.rb", "lib/cassandra/0.7/protocol.rb", "lib/cassandra/array.rb", "lib/cassandra/cassandra.rb", "lib/cassandra/columns.rb", "lib/cassandra/comparable.rb", "lib/cassandra/constants.rb", "lib/cassandra/debug.rb", "lib/cassandra/helpers.rb", "lib/cassandra/long.rb", "lib/cassandra/mock.rb", "lib/cassandra/ordered_hash.rb", "lib/cassandra/time.rb", "test/cassandra_client_test.rb", "test/cassandra_mock_test.rb", "test/cassandra_test.rb", "test/comparable_types_test.rb", "test/eventmachine_test.rb", "test/ordered_hash_test.rb", "test/test_helper.rb", "vendor/0.6/gen-rb/cassandra.rb", "vendor/0.6/gen-rb/cassandra_constants.rb", "vendor/0.6/gen-rb/cassandra_types.rb", "vendor/0.7/gen-rb/cassandra.rb", "vendor/0.7/gen-rb/cassandra_constants.rb", "vendor/0.7/gen-rb/cassandra_types.rb", "cassandra.gemspec"]
|
18
|
-
s.homepage = %q{http://blog.evanweaver.com/files/doc/fauna/cassandra/}
|
19
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Cassandra", "--main", "README.rdoc"]
|
20
|
-
s.require_paths = ["lib"]
|
21
|
-
s.rubygems_version = %q{1.3.7}
|
22
|
-
s.summary = %q{A Ruby client for the Cassandra distributed database.}
|
23
|
-
s.test_files = ["test/cassandra_client_test.rb", "test/cassandra_mock_test.rb", "test/cassandra_test.rb", "test/comparable_types_test.rb", "test/eventmachine_test.rb", "test/ordered_hash_test.rb", "test/test_helper.rb"]
|
24
|
-
|
25
|
-
if s.respond_to? :specification_version then
|
26
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
27
|
-
s.specification_version = 3
|
28
|
-
|
29
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
30
|
-
s.add_runtime_dependency(%q<thrift_client>, [">= 0.6.0"])
|
31
|
-
s.add_runtime_dependency(%q<json>, [">= 0"])
|
32
|
-
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
33
|
-
s.add_runtime_dependency(%q<simple_uuid>, [">= 0.1.0"])
|
34
|
-
else
|
35
|
-
s.add_dependency(%q<thrift_client>, [">= 0.6.0"])
|
36
|
-
s.add_dependency(%q<json>, [">= 0"])
|
37
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
38
|
-
s.add_dependency(%q<simple_uuid>, [">= 0.1.0"])
|
39
|
-
end
|
40
|
-
else
|
41
|
-
s.add_dependency(%q<thrift_client>, [">= 0.6.0"])
|
42
|
-
s.add_dependency(%q<json>, [">= 0"])
|
43
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
44
|
-
s.add_dependency(%q<simple_uuid>, [">= 0.1.0"])
|
45
|
-
end
|
46
|
-
end
|
data/conf/cassandra.yaml
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
# Cassandra YAML generated from previous config
|
2
|
-
# Configuration wiki: http://wiki.apache.org/cassandra/StorageConfiguration
|
3
|
-
|
4
|
-
cluster_name: Test
|
5
|
-
|
6
|
-
listen_address: localhost
|
7
|
-
storage_port: 7000
|
8
|
-
rpc_port: 9160
|
9
|
-
seeds:
|
10
|
-
- 127.0.0.1
|
11
|
-
data_file_directories:
|
12
|
-
- data/cassandra/data
|
13
|
-
commitlog_directory: data/cassandra/commitlog
|
14
|
-
auto_bootstrap: false
|
15
|
-
partitioner: org.apache.cassandra.dht.RandomPartitioner
|
16
|
-
authenticator: org.apache.cassandra.auth.AllowAllAuthenticator
|
17
|
-
|
18
|
-
binary_memtable_throughput_in_mb: 256
|
19
|
-
column_index_size_in_kb: 64
|
20
|
-
commitlog_rotation_threshold_in_mb: 128
|
21
|
-
commitlog_sync: periodic
|
22
|
-
commitlog_sync_period_in_ms: 10000
|
23
|
-
concurrent_reads: 8
|
24
|
-
concurrent_writes: 32
|
25
|
-
disk_access_mode: auto
|
26
|
-
dynamic_snitch: false
|
27
|
-
hinted_handoff_enabled: true
|
28
|
-
in_memory_compaction_limit_in_mb: 256
|
29
|
-
memtable_flush_after_mins: 60
|
30
|
-
memtable_operations_in_millions: 0.3
|
31
|
-
memtable_throughput_in_mb: 64
|
32
|
-
phi_convict_threshold: 8
|
33
|
-
rpc_timeout_in_ms: 5000
|
34
|
-
sliced_buffer_size_in_kb: 64
|
35
|
-
snapshot_before_compaction: false
|
36
|
-
thrift_framed_transport_size_in_mb: 15
|
37
|
-
thrift_max_message_length_in_mb: 16
|
38
|
-
|
39
|
-
|
40
|
-
keyspaces:
|
41
|
-
|
42
|
-
- name: Twitter
|
43
|
-
replication_factor: 1
|
44
|
-
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy
|
45
|
-
column_families:
|
46
|
-
- name: Users
|
47
|
-
compare_with: UTF8Type
|
48
|
-
- name: UserAudits
|
49
|
-
compare_with: UTF8Type
|
50
|
-
- name: UserRelationships
|
51
|
-
compare_with: UTF8Type
|
52
|
-
column_type: Super
|
53
|
-
compare_subcolumns_with: TimeUUIDType
|
54
|
-
- name: Usernames
|
55
|
-
compare_with: UTF8Type
|
56
|
-
- name: Statuses
|
57
|
-
compare_with: UTF8Type
|
58
|
-
- name: StatusAudits
|
59
|
-
compare_with: UTF8Type
|
60
|
-
- name: StatusRelationships
|
61
|
-
compare_with: UTF8Type
|
62
|
-
column_type: Super
|
63
|
-
compare_subcolumns_with: TimeUUIDType
|
64
|
-
- name: Index
|
65
|
-
compare_with: UTF8Type
|
66
|
-
column_type: Super
|
67
|
-
- name: TimelinishThings
|
68
|
-
compare_with: BytesType
|
69
|
-
column_type: Standard
|
70
|
-
|
71
|
-
- name: Multiblog
|
72
|
-
replication_factor: 1
|
73
|
-
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy
|
74
|
-
column_families:
|
75
|
-
- name: Blogs
|
76
|
-
compare_with: TimeUUIDType
|
77
|
-
- name: Comments
|
78
|
-
compare_with: TimeUUIDType
|
79
|
-
|
80
|
-
- name: MultiblogLong
|
81
|
-
replication_factor: 1
|
82
|
-
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy
|
83
|
-
column_families:
|
84
|
-
- name: Blogs
|
85
|
-
compare_with: LongType
|
86
|
-
- name: Comments
|
87
|
-
compare_with: LongType
|
88
|
-
|
89
|
-
- name: CassandraObject
|
90
|
-
replication_factor: 1
|
91
|
-
replica_placement_strategy: org.apache.cassandra.locator.RackUnawareStrategy
|
92
|
-
column_families:
|
93
|
-
- name: Customers
|
94
|
-
compare_with: UTF8Type
|
95
|
-
- name: CustomerRelationships
|
96
|
-
compare_with: UTF8Type
|
97
|
-
column_type: Super
|
98
|
-
compare_subcolumns_with: TimeUUIDType
|
99
|
-
- name: CustomersByLastName
|
100
|
-
compare_with: TimeUUIDType
|
101
|
-
- name: Invoices
|
102
|
-
compare_with: UTF8Type
|
103
|
-
- name: InvoiceRelationships
|
104
|
-
compare_with: UTF8Type
|
105
|
-
column_type: Super
|
106
|
-
compare_subcolumns_with: TimeUUIDType
|
107
|
-
- name: InvoicesByNumber
|
108
|
-
compare_with: UTF8Type
|
109
|
-
- name: Payments
|
110
|
-
compare_with: UTF8Type
|
111
|
-
- name: Appointments
|
112
|
-
compare_with: UTF8Type
|
113
|
-
|