开发者

Communication between two Cassandra nodes

开发者 https://www.devze.com 2022-12-22 21:22 出处:网络
Assume two Cassandra nodes ru开发者_JAVA技巧nning on hosts A and B respectively. Which TCP and/or UDP ports needs to be open between hosts A and B for Cassandra to operate properly?That depends on how

Assume two Cassandra nodes ru开发者_JAVA技巧nning on hosts A and B respectively. Which TCP and/or UDP ports needs to be open between hosts A and B for Cassandra to operate properly?


That depends on how you have configured storage-conf.xml on your two nodes.

Hint. take a look at <StoragePort>7000</StoragePort> in storage-conf.xml. (TCP port 7000 is the standard/default port used by Cassandra for internal communication, i.e. address to bind to and tell other nodes to connect to).

UDP port (7001 default) was previous used for gossip, was removed in 0.6.0.

0

精彩评论

暂无评论...
验证码 换一张
取 消