Changeset View
Changeset View
Standalone View
Standalone View
conf/cassandra.yaml
Show First 20 Lines • Show All 421 Lines • ▼ Show 20 Lines | seed_provider: | ||||
# Addresses of hosts that are deemed contact points. | # Addresses of hosts that are deemed contact points. | ||||
# Cassandra nodes use this list of hosts to find each other and learn | # Cassandra nodes use this list of hosts to find each other and learn | ||||
# the topology of the ring. You must change this if you are running | # the topology of the ring. You must change this if you are running | ||||
# multiple nodes! | # multiple nodes! | ||||
- class_name: org.apache.cassandra.locator.SimpleSeedProvider | - class_name: org.apache.cassandra.locator.SimpleSeedProvider | ||||
parameters: | parameters: | ||||
# seeds is actually a comma-delimited list of addresses. | # seeds is actually a comma-delimited list of addresses. | ||||
# Ex: "<ip1>,<ip2>,<ip3>" | # Ex: "<ip1>,<ip2>,<ip3>" | ||||
- seeds: "172.20.0.7" | - seeds: "172.20.0.8" | ||||
# For workloads with more data than can fit in memory, Cassandra's | # For workloads with more data than can fit in memory, Cassandra's | ||||
# bottleneck will be reads that need to fetch data from | # bottleneck will be reads that need to fetch data from | ||||
# disk. "concurrent_reads" should be set to (16 * number_of_drives) in | # disk. "concurrent_reads" should be set to (16 * number_of_drives) in | ||||
# order to allow the operations to enqueue low enough in the stack | # order to allow the operations to enqueue low enough in the stack | ||||
# that the OS and drives can reorder them. Same applies to | # that the OS and drives can reorder them. Same applies to | ||||
# "concurrent_counter_writes", since counter writes read the current | # "concurrent_counter_writes", since counter writes read the current | ||||
# values before incrementing and writing them back. | # values before incrementing and writing them back. | ||||
▲ Show 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | |||||
# | # | ||||
# Leaving it blank leaves it up to InetAddress.getLocalHost(). This | # Leaving it blank leaves it up to InetAddress.getLocalHost(). This | ||||
# will always do the Right Thing _if_ the node is properly configured | # will always do the Right Thing _if_ the node is properly configured | ||||
# (hostname, name resolution, etc), and the Right Thing is to use the | # (hostname, name resolution, etc), and the Right Thing is to use the | ||||
# address associated with the hostname (it might not be). | # address associated with the hostname (it might not be). | ||||
# | # | ||||
# Setting listen_address to 0.0.0.0 is always wrong. | # Setting listen_address to 0.0.0.0 is always wrong. | ||||
# | # | ||||
listen_address: 172.20.0.7 | listen_address: 172.20.0.8 | ||||
# Set listen_address OR listen_interface, not both. Interfaces must correspond | # Set listen_address OR listen_interface, not both. Interfaces must correspond | ||||
# to a single address, IP aliasing is not supported. | # to a single address, IP aliasing is not supported. | ||||
# listen_interface: eth0 | # listen_interface: eth0 | ||||
# If you choose to specify the interface by name and the interface has an ipv4 and an ipv6 address | # If you choose to specify the interface by name and the interface has an ipv4 and an ipv6 address | ||||
# you can specify which should be chosen using listen_interface_prefer_ipv6. If false the first ipv4 | # you can specify which should be chosen using listen_interface_prefer_ipv6. If false the first ipv4 | ||||
# address will be used. If true the first ipv6 address will be used. Defaults to false preferring | # address will be used. If true the first ipv6 address will be used. Defaults to false preferring | ||||
# ipv4. If there is only one address it will be selected regardless of ipv4/ipv6. | # ipv4. If there is only one address it will be selected regardless of ipv4/ipv6. | ||||
# listen_interface_prefer_ipv6: false | # listen_interface_prefer_ipv6: false | ||||
# Address to broadcast to other Cassandra nodes | # Address to broadcast to other Cassandra nodes | ||||
# Leaving this blank will set it to the same value as listen_address | # Leaving this blank will set it to the same value as listen_address | ||||
broadcast_address: 172.20.0.7 | broadcast_address: 172.20.0.8 | ||||
# When using multiple physical network interfaces, set this | # When using multiple physical network interfaces, set this | ||||
# to true to listen on broadcast_address in addition to | # to true to listen on broadcast_address in addition to | ||||
# the listen_address, allowing nodes to communicate in both | # the listen_address, allowing nodes to communicate in both | ||||
# interfaces. | # interfaces. | ||||
# Ignore this property if the network configuration automatically | # Ignore this property if the network configuration automatically | ||||
# routes between the public and private networks such as EC2. | # routes between the public and private networks such as EC2. | ||||
# listen_on_broadcast_address: false | # listen_on_broadcast_address: false | ||||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
# port for Thrift to listen for clients on | # port for Thrift to listen for clients on | ||||
rpc_port: 9160 | rpc_port: 9160 | ||||
# RPC address to broadcast to drivers and other Cassandra nodes. This cannot | # RPC address to broadcast to drivers and other Cassandra nodes. This cannot | ||||
# be set to 0.0.0.0. If left blank, this will be set to the value of | # be set to 0.0.0.0. If left blank, this will be set to the value of | ||||
# rpc_address. If rpc_address is set to 0.0.0.0, broadcast_rpc_address must | # rpc_address. If rpc_address is set to 0.0.0.0, broadcast_rpc_address must | ||||
# be set. | # be set. | ||||
broadcast_rpc_address: 172.20.0.7 | broadcast_rpc_address: 172.20.0.8 | ||||
# enable or disable keepalive on rpc/native connections | # enable or disable keepalive on rpc/native connections | ||||
rpc_keepalive: true | rpc_keepalive: true | ||||
# Cassandra provides two out-of-the-box options for the RPC Server: | # Cassandra provides two out-of-the-box options for the RPC Server: | ||||
# | # | ||||
# sync | # sync | ||||
# One thread per thrift connection. For a very large number of clients, memory | # One thread per thrift connection. For a very large number of clients, memory | ||||
▲ Show 20 Lines • Show All 534 Lines • Show Last 20 Lines |