简体   繁体   English

如何解决Cassandra不是从Homebrew开始的问题?

[英]How to troubleshoot Cassandra not starting from Homebrew?

When I try to start Cassandra with brew services start cassandra , I get a message that it has been successfully started. 当我尝试通过brew services start cassandra ,收到一条消息,表明它已成功启动。 However, when I do brew services list , the Cassandra status is started but the started text is orange (not green). 但是,当我执行brew services list ,Cassandra状态已startedstarted文本为橙色(不是绿色)。

It seems that Cassandra is not running at all. 看来Cassandra根本没有运行。 I am unable to connect to it with cqlsh and get no results when I run ps aux | grep cass 我无法使用cqlsh连接到它,并且在运行ps aux | grep cass时没有任何结果ps aux | grep cass ps aux | grep cass . ps aux | grep cass

Any suggestions how to troubleshoot Cassandra not starting from Homebrew? 任何建议如何解决不是从Homebrew开始的Cassandra?

This is a problem with Java version - existing releases of the Cassandra do work only with Java 8. Support for Java 9,10,11, ... is added only in Cassandra 4.0 that isn't released yet. 这是Java版本的问题-Cassandra的现有版本仅适用于Java8。仅在尚未发布的Cassandra 4.0中添加了对Java 9,10,11,...的支持。 You need to install Java 8 and point Cassandra to it. 您需要安装Java 8并将Cassandra指向它。

You can read more about the changes in following blog post . 您可以在以下博客文章中了解有关更改的更多信息

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

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