【问题标题】:Errors and warnings with cassandra and cqlsycassandra 和 cqlsy 的错误和警告
【发布时间】:2021-03-09 18:04:28
【问题描述】:

当我运行 cassandra 时,我得到如下输出:

D:\STUDIA\cassandra\apache-cassandra-3.11.9\bin>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.

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

当我输入 cqlsh 时:

D:\STUDIA\cassandra\apache-cassandra-3.11.9\bin>cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(10061, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Nie mo\xbfna nawi\xb9za\xe6 po\xb3\xb9czenia, poniewa\xbf komputer docelowy aktywnie go odmawia")})

它说 “不能 建立连接,因为目标计算机正在积极拒绝它”

【问题讨论】:

    标签: cassandra cqlsh


    【解决方案1】:

    错误表明 Cassandra 没有运行。您需要检查 Cassandra system.log 以了解原因。

    它可能无法启动或关闭。不查看日志就不可能知道原因。干杯!

    【讨论】:

      【解决方案2】:

      我更改了 jdk 版本并开始了一些东西,但我现在用 cassandra 得到了这些错误

      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=4836, tid=0x000000000000063c
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_271-b09) (build 1.8.0_271-b09)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.271-b09 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # C  [sigar-amd64-winnt.dll+0x14ed4]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # An error report file with more information is saved as:
      # D:\STUDIA\cassandra\apache-cassandra-3.0.23\bin\hs_err_pid4836.log
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      

      【讨论】:

        猜你喜欢
        • 2020-07-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-06-13
        • 1970-01-01
        相关资源
        最近更新 更多