Cassandra安装失败64位检查。重新运行以在Windows 10上从32位获取版本

问题描述 投票:3回答:3

我在Windows 10中安装了datastax-ddc-64bit-3.8.0,并尝试通过在bin文件夹中运行cassandra.bat来启动该服务。该服务未启动并失败,并显示以下消息。

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.

*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Cassandra 3.0 and later require Java 8u40 or later.

怎么解决?

cassandra cassandra-3.0
3个回答
1
投票

我通过将JAVA_HOME指向jre1.8.0_212而不是JDK来解决了这个问题。


0
投票

Cassandra没有使用64位版本的JDK,我不得不将我的JAVA_HOME指向64位版本的JRE。另外建议cqlsh也不能使用最新的Python,试试Python 2.7


0
投票

您需要将JAVA x64目录作为JAVA_HOME环境变量中的值。

更改JAVA_HOME目录时,重新启动控制台(终端,CMD,PowerShell等)


推荐问答