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

Stack Overflow | Dushyant Gohil | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cassandra Connection Refused

    Stack Overflow | 6 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