我想用一个非常简单的单节点集群启动Cassandra,但我不能这样做.
我遵循了描述的步骤
基本上,
最后,当我以root用户身份运行时,
# sh ~/cassandra/bin/cassandra
Run Code Online (Sandbox Code Playgroud)
出现以下信息.
Running Cassandra as root user or group is not recommended - please start Cassandra using a different system user.
If you really want to force running Cassandra as root, use -R command line option.
Run Code Online (Sandbox Code Playgroud)
所以,我跑了
# sh ~/cassandra/bin/cassandra -R
Run Code Online (Sandbox Code Playgroud)
然后,我收到了下面的消息.
# [0.000s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/root/cassandra/bin/../logs/gc.log instead.
intx ThreadPriorityPolicy=42 is outside the allowed range [ 0 ... 1 ]
Improperly …Run Code Online (Sandbox Code Playgroud)