12.6 Cassandra開啓遠程連接
“卜算子·大數據”一個開源、成體系的大數據學習教程。——每週日更新
本節主要內容:
- Cassandra開啓遠程連接
12.6.1 修改Cassandra配置文件
vim cassandra.yaml
12.6.2 修改如下內容
start_rpc: true
listen_address: 192.168.56.110
rpc_address: 0.0.0.0
broadcast_rpc_address: 192.168.56.110
seed_provider:
# Addresses of hosts that are deemed contact points.
# 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
# multiple nodes!
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
# seeds is actually a comma-delimited list of addresses.
# Ex: "<ip1>,<ip2>,<ip3>"
- seeds: "192.168.56.110"
12.6.3 重啓Cassandra即可
本節完成
長按關注從入門到精通