wia*_*ise 3 java linux centos cassandra
我想用一个非常简单的单节点集群启动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 specified VM option 'ThreadPriorityPolicy=42'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Run Code Online (Sandbox Code Playgroud)
似乎问题与JVM有关,但我对其原因和解决方案一无所知.
如果您对如何解决此问题有任何想法,请告诉我.
我的环境如下:
归档时间: |
|
查看次数: |
4596 次 |
最近记录: |