Cassandra Installation

后端 未结 6 2248
野的像风
野的像风 2020-12-07 01:30
ERROR [MemtableFlushWriter:1] 2019-11-05 19:23:08,691 LogReplicaSet.java:94 - Failed to create log replica C:\\apache-cassandra-3.11.5\\data\\data\\system\\local-7ad         


        
相关标签:
6条回答
  • 2020-12-07 02:07

    Here is the link of cassandra Jira issues regarding this https://issues.apache.org/jira/browse/CASSANDRA-15426

    0 讨论(0)
  • 2020-12-07 02:21

    Here are few things I did to resolve this issue reported by OP:

    1. Downgraded the cassandra version to 3.11.4 ( I am using python 2.7 and apacheThrift 0.13)
    2. Change CASSANDRA_HOME to updated folder name
    3. Open the cmd line as admin and Start the cassandra.bat
    0 讨论(0)
  • 2020-12-07 02:24

    This may have been a permission issue on Windows

    1) Open Windows Power Shell
    2) run the following command powershell Set-ExecutionPolicy Unrestricted
    3) Open Windows Command Prompt and execute cassandra.bat

    0 讨论(0)
  • 2020-12-07 02:27

    Based off of your pasting, as hard as that was to try to read, I believe your problem is that either you have a permissions issue or a directory/folder doesn't exist that Cassandra is trying to write to:

    Failed to create log replica C:\apache-cassandra-3.11.5\data\data\system\local-7ad54392bcdd35a684174e047860b377/C:\apache-cassandra-3.11.5\data\data\system\local-7ad54392bcdd35a684174e047860b377\md_txn_flush_99189c20-ffd3-11e9-b69e-0752c2cde782.log org.apache.cassandra.io.FSReadError: java.io.IOException: Invalid folder descriptor trying to create log replica C:\apache-cassandra-3.11.5\data\data\system\local-7ad54392bcdd35a684174e047860b377 at
    

    So you need to check out: C:\apache-cassandra-3.11.5\data\data\system\local-7ad54392bcdd35a684174e047860b377

    See if that directory exists, and whether it is writable (not required to be Administrator or something in that nature). I'm not much of a "windows" guy, so the diagnosis of the issue will fall on your shoulders a bit.

    Hope that helps to get things started.

    -Jim

    0 讨论(0)
  • 2020-12-07 02:32

    Try rolling your version back to 3.11.4. As indicated in CASSANDRA-15426, this should help to get around this issue until a fix is released.

    0 讨论(0)
  • 2020-12-07 02:34

    Rolling back to version 3.11.4 fixed this issue. Check if you have edited the environment variable of CASSANDRA_HOME to point to version 3.11.4.

    0 讨论(0)
提交回复
热议问题