使用自定义配置文件启动cassandra服务器 [英] Starting cassandra server with custom configuration file
本文介绍了使用自定义配置文件启动cassandra服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否可以直接从命令管道配置文件casssandra,而不是拾取默认文件。
I was wondering whether its possible to pipe the configuration file for casssandra directly from the command instead of picking up the default file.
推荐答案
是的,您可以使用 -d
标志来调用Cassandra。该标志将允许您指定 cassandra.config = directory
,如果您需要指定一个即时。 Cassandra会在 目录中查找 cassandra.yaml
文件,而不是默认文件。
Yes, you can invoke Cassandra with the -d
flag. That flag will allow you to specify cassandra.config=directory
, if you need to specify one on-the-fly. Cassandra will then look for the cassandra.yaml
file in that directory, instead of the default.
对于 cassandra
实用程序上的其他选项,检查DataStax文档。
For other options on the cassandra
utility, check the DataStax docs.
这篇关于使用自定义配置文件启动cassandra服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文