Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/databases/cassandra4/files/patch-conf_cassandra.yaml
16124 views
1
--- conf/cassandra.yaml.orig 2020-07-17 21:24:30 UTC
2
+++ conf/cassandra.yaml
3
@@ -73,7 +73,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
@@ -200,13 +200,13 @@ 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
# commit log. when running on magnetic HDD, this should be a
22
# separate spindle than the data directories.
23
# If not set, the default directory is $CASSANDRA_HOME/data/commitlog.
24
-# commitlog_directory: /var/lib/cassandra/commitlog
25
+commitlog_directory: /var/db/cassandra/commitlog
26
27
# Enable / disable CDC functionality on a per-node basis. This modifies the logic used
28
# for write path allocation rejection (standard: never reject. cdc: reject Mutation
29
@@ -217,7 +217,7 @@ cdc_enabled: false
30
# segment contains mutations for a CDC-enabled table. This should be placed on a
31
# separate spindle than the data directories. If not set, the default directory is
32
# $CASSANDRA_HOME/data/cdc_raw.
33
-# cdc_raw_directory: /var/lib/cassandra/cdc_raw
34
+cdc_raw_directory: /var/db/cassandra/cdc_raw
35
36
# Policy for data disk failures:
37
#
38
@@ -309,20 +309,12 @@ key_cache_save_period: 14400
39
40
# Row cache implementation class name. Available implementations:
41
#
42
-# org.apache.cassandra.cache.OHCProvider
43
-# Fully off-heap row cache implementation (default).
44
-#
45
# org.apache.cassandra.cache.SerializingCacheProvider
46
# This is the row cache implementation availabile
47
# in previous releases of Cassandra.
48
-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
49
+# row_cache_class_name: org.apache.cassandra.cache.SerializingCacheProvider
50
51
# Maximum size of the row cache in memory.
52
-# Please note that OHC cache implementation requires some additional off-heap memory to manage
53
-# the map structures and some in-flight memory during operations before/after cache entries can be
54
-# accounted against the cache capacity. This overhead is usually small compared to the whole capacity.
55
-# Do not specify more memory that the system can afford in the worst usual situation and leave some
56
-# headroom for OS block level cache. Do never allow your system to swap.
57
#
58
# Default value is 0, to disable row caching.
59
row_cache_size_in_mb: 0
60
@@ -369,7 +361,7 @@ counter_cache_save_period: 7200
61
62
# saved caches
63
# If not set, the default directory is $CASSANDRA_HOME/data/saved_caches.
64
-# saved_caches_directory: /var/lib/cassandra/saved_caches
65
+saved_caches_directory: /var/db/cassandra/saved_caches
66
67
# commitlog_sync may be either "periodic", "group", or "batch."
68
#
69
70