简体   繁体   English

如何在cassandra中设置localhost的配置?

[英]How to set configuration of localhost in cassandra?

My Cassandra running successfully on multiple node.And I want to run it local mode, so What changes should be need in cassandra.yml file for local mode. 我的Cassandra在多个节点上成功运行。而且我想以本地模式运行,因此对于本地模式,应该在cassandra.yml文件中进行哪些更改。

Thanks in advance 提前致谢

Running multiple nodes locally can be complicated if you are trying to configure cassandra on your own. 如果尝试自行配置cassandra,则在本地运行多个节点可能会很复杂。 You could just use ccm which is a tool that does exactly this. 您可以只使用ccm来完成此任务。 If you are on windows, you are going to have to configure the listen address to allow multiple local addresses and configure each node to use different data, log and cache directories, also you will have to modify the various ports involved (binary protocol, thrift, jmx) to be unique to each server. 如果在Windows上,则必须配置侦听地址以允许多个本地地址,并配置每个节点以使用不同的数据,日志和缓存目录,还必须修改涉及的各种端口(二进制协议,节俭,jmx)对于每个服务器都是唯一的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM