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

Sat*_*oti 7 cassandra cassandra-3.0

我已经在 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.
Run Code Online (Sandbox Code Playgroud)

如何解决?

小智 5

我通过指向解决了这个问题JAVA_HOMEjre1.8.0_212的,而不是JDK。


ast*_*ght 0

Cassandra 无法使用 64 位版本的 JDK,我必须将其JAVA_HOME指向 64 位版本的 JRE。cqlsh不适用于最新的 Python,请尝试 Python 2.7