Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/databases/cassandra4/files/patch-conf_cassandra.yaml
16462 views
1
--- conf/cassandra.yaml.orig 2022-05-06 16:40:06 UTC
2
+++ conf/cassandra.yaml
3
@@ -77,7 +77,7 @@ max_hints_delivery_threads: 2
4
5
# Directory where Cassandra should store hints.
6
# If not set, the default directory is $CASSANDRA_HOME/data/hints.
7
-# hints_directory: /var/lib/cassandra/hints
8
+hints_directory: /var/db/cassandra/hints
9
10
# How often hints should be flushed from the internal buffers to disk.
11
# Will *not* trigger fsync.
12
@@ -204,8 +204,8 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition
13
# directories are specified, Cassandra will spread data evenly across
14
# them by partitioning the token ranges.
15
# If not set, the default directory is $CASSANDRA_HOME/data/data.
16
-# data_file_directories:
17
-# - /var/lib/cassandra/data
18
+data_file_directories:
19
+ - /var/db/cassandra/data
20
21
# Directory were Cassandra should store the data of the local system keyspaces.
22
# By default Cassandra will store the data of the local system keyspaces in the first of the data directories specified
23
@@ -217,7 +217,7 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition
24
# commit log. when running on magnetic HDD, this should be a
25
# separate spindle than the data directories.
26
# If not set, the default directory is $CASSANDRA_HOME/data/commitlog.
27
-# commitlog_directory: /var/lib/cassandra/commitlog
28
+commitlog_directory: /var/db/cassandra/commitlog
29
30
# Enable / disable CDC functionality on a per-node basis. This modifies the logic used
31
# for write path allocation rejection (standard: never reject. cdc: reject Mutation
32
@@ -228,7 +228,7 @@ cdc_enabled: false
33
# segment contains mutations for a CDC-enabled table. This should be placed on a
34
# separate spindle than the data directories. If not set, the default directory is
35
# $CASSANDRA_HOME/data/cdc_raw.
36
-# cdc_raw_directory: /var/lib/cassandra/cdc_raw
37
+cdc_raw_directory: /var/db/cassandra/cdc_raw
38
39
# Policy for data disk failures:
40
#
41
@@ -320,20 +320,12 @@ key_cache_save_period: 14400
42
43
# Row cache implementation class name. Available implementations:
44
#
45
-# org.apache.cassandra.cache.OHCProvider
46
-# Fully off-heap row cache implementation (default).
47
-#
48
# org.apache.cassandra.cache.SerializingCacheProvider
49
# This is the row cache implementation availabile
50
# in previous releases of Cassandra.
51
-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
52
+# row_cache_class_name: org.apache.cassandra.cache.SerializingCacheProvider
53
54
# Maximum size of the row cache in memory.
55
-# Please note that OHC cache implementation requires some additional off-heap memory to manage
56
-# the map structures and some in-flight memory during operations before/after cache entries can be
57
-# accounted against the cache capacity. This overhead is usually small compared to the whole capacity.
58
-# Do not specify more memory that the system can afford in the worst usual situation and leave some
59
-# headroom for OS block level cache. Do never allow your system to swap.
60
#
61
# Default value is 0, to disable row caching.
62
row_cache_size_in_mb: 0
63
@@ -380,7 +372,7 @@ counter_cache_save_period: 7200
64
65
# saved caches
66
# If not set, the default directory is $CASSANDRA_HOME/data/saved_caches.
67
-# saved_caches_directory: /var/lib/cassandra/saved_caches
68
+saved_caches_directory: /var/db/cassandra/saved_caches
69
70
# Number of seconds the server will wait for each cache (row, key, etc ...) to load while starting
71
# the Cassandra process. Setting this to a negative value is equivalent to disabling all cache loading on startup
72
73