Starting cassandra server with custom configuration file

旧街凉风 提交于 2019-12-10 23:42:32

问题


I was wondering whether its possible to pipe the configuration file for casssandra directly from the command instead of picking up the default file.


回答1:


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.

For other options on the cassandra utility, check the DataStax docs.



来源:https://stackoverflow.com/questions/31294963/starting-cassandra-server-with-custom-configuration-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!