无法使用此错误启动cassandra

无法使用此错误启动cassandra,cassandra,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

当我运行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检查提高性能的常用方法。请参阅以下文档,其中详细介绍了建议的设置/环境:


  • 这些只是警告,不是错误。你真的看到错误了吗?卡桑德拉进程终止了吗?是的,这些都是警告,但原因是什么?