org.apache.cassandra.io.FSWriteError: java.io.IOException: Failed to mkdirs /var/lib/cassandra/data/test/merchant-f0892c606e6611e69252716e565c6453

Stack Overflow | Dushyant Gohil | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cassandra Connection Refused

    Stack Overflow | 8 months ago | Dushyant Gohil
    org.apache.cassandra.io.FSWriteError: java.io.IOException: Failed to mkdirs /var/lib/cassandra/data/test/merchant-f0892c606e6611e69252716e565c6453

    Root Cause Analysis

    1. java.io.IOException

      Failed to mkdirs /var/lib/cassandra/data/test/merchant-f0892c606e6611e69252716e565c6453

      at org.apache.cassandra.io.util.FileUtils.createDirectory()
    2. org.apache.cassandra
      CassandraDaemon.main
      1. org.apache.cassandra.io.util.FileUtils.createDirectory(FileUtils.java:365)[apache-cassandra-3.7.0.jar:3.7.0]
      2. org.apache.cassandra.db.Directories.<init>(Directories.java:241)[apache-cassandra-3.7.0.jar:3.7.0]
      3. org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:601)[apache-cassandra-3.7.0.jar:3.7.0]
      4. org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:264)[apache-cassandra-3.7.0.jar:3.7.0]
      5. org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:585)[apache-cassandra-3.7.0.jar:3.7.0]
      6. org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:714)[apache-cassandra-3.7.0.jar:3.7.0]
      6 frames