cassandra - Cassandra not working after upgrade Ubuntu to 20.04
问题描述
Cassandra.service is running but couldn't be connected. Cqlsh also not working
解决方案
cqlsh
doesn't work because Ubuntu 20.04 has Python 3 installed by default, and there is no release of cqlsh
that supports it. You need to install Python 2 to use cqlsh
Cassandra requires Java 8 - check that you have OpenJDK 8 installed (by default Java 11 is installed), and that Cassandra is configured to use it.
P.S. These problems with versions will be fixed with release of the Cassandra 4.0
推荐阅读
- authentication - 为我的 API 获取具有基本身份验证的令牌有什么意义
- extjs - EXTJS 6.7:标签字段 - 如何禁用相同值的多选?
- java - 在 RelativeLayout 中对齐网格
- ios - Crashlytics 要求提供不存在的 dsym 文件
- c - 循环 2 自动接受输入
- matlab - Matlab曲线拟合系数
- google-cloud-platform - “gcloud beta ai-platform versions create”因私有 URI 依赖而失败
- azure-devops - 任何公开发布的 c# API 以获取给定提交的代码差异
- r - ggplot2 问题:用奇怪的 unicode 块显示的图形文本
- android - 分页 3 - 即使 maxSize 为 MAX_SIZE_UNBOUNDED,Room 也会丢页吗?