-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathreference.conf
73 lines (69 loc) · 2.16 KB
/
reference.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# These can be overriden with environment variables so you can execute your tests against arbitrary versions
DSE_VERSION = "4.8.8"
CCM="../tools/ccm/ccm"
# This configuration is referenced only by the testing process, nothing in the production
# path reads this - this is just how to spin up local testing clusters.
cassandra.ccm = {
// Where to stick the config / data files for cassandra instances
clusters = [
{
rootDir: "/tmp/cassandra-1"
name: "cassandra-1"
type: "dse" // or community
version: ${DSE_VERSION}
dseUsername: ${DSE_USERNAME}
dsePassword: ${DSE_PASSWORD}
// existingBinariesDir = "/path/to/existing/CassandraBinaries"
updateConf = {
// updates to cassandra.yaml in the form of:
// someProperty: someValue
}
updateDseConf = {
// updates to dse.yaml in the form of:
// someProperty: someValue
}
// Class names of additional jar files to copy to Cassandra - the jar will be
// selected by the class loader. Dependencies are not traversed, so if the jar
// has its own dependencies, you'll need to be certain to include at least one
// class name from each dependent jar
additionalClassJars: [
]
schemaFiles: [
]
postSchemaCommands: [
["./cores","http://127.0.0.2:8983","CREATE","netflows.netflows", "netflows", "test"],
]
datacenters = [
{
name: "us-west-2"
workload: "solr"
additionalClassJars: []
nodes: [
{
name: "solr-1"
address: "127.0.0.1"
jmxPort: 7101
remoteDebugPort: 2101
additionalClassJars: []
}
]
}
]
} // end cassandra.ccm.clusters[0]
] // end cassandra.ccm.clusters
} // end cassandra.ccm
cassandra.connections = {
default = {
max_unlogged_batch_statements: 1000
max_counter_batch_statements: 1000
seeds: ["127.0.0.1"]
clustername: "none"
ssl.enabled = false
loadbalancer = {
type = DCAwareRoundRobinPolicy
localDc="us-west-2"
}
}
}
include "testing.conf"
include "local.conf"