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
Here is the link of cassandra Jira issues regarding this https://issues.apache.org/jira/browse/CASSANDRA-15426
Here are few things I did to resolve this issue reported by OP:
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
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
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.
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.