在Windows中安装Cassandra时,我面临以下问题。我试着在论坛上搜索但没有运气。
以下是我尝试安装Cassandra时执行的步骤:
JAVA_HOME
,将Python 3.6.2设置为Path
,将Cassandra 3.11.1设置为CASSANDRA_HOME
。当我尝试在CMD终端上运行Cassandra时,它给出了以下错误:
Detected powershell execution permissions. Running with enhanced startup
scripts.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
WARNING! Automatic page file configuration detected.
It is recommended that you disable swap when running Cassandra
for performance and stability reasons.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Failed 64-bit check. Re-running to get version from 32-bit
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
WARNING! Detected a power profile other than High Performance.
Performance of this node will suffer.
Modify conf\cassandra.env.ps1 to suppress this warning.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Java HotSpot(TM) Client VM warning: Cannot open file C:\Cassandra/logs/gc.log
due to No such file or directory
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap