无法使用此错误启动cassandra

当我运行cassandra时会遇到这些错误.问题是什么?

WARN  06:01:00 Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root.
INFO  06:01:00 JMX is enabled to receive remote connections on port: 9909
WARN  06:01:00 OpenJDK is not recommended. Please upgrade to the newest Oracle Java release
INFO  06:01:00 Initializing SIGAR library
WARN  06:01:00 Cassandra server running in degraded mode. Is swap disabled? : false,  Address space adequate? : true,  nofile limit adequate? : true, nproc limit adequate? : false 

最佳答案 Cassandra检查提高性能的常用方法.请参阅以下文档,其中详细介绍了建议的设置/环境:

> https://docs.datastax.com/en/cassandra/2.0/cassandra/troubleshooting/trblshootInsufficientResources_r.html
> https://docs.datastax.com/en/cassandra/2.0/cassandra/install/installRecommendSettings.html

点赞