[ https://issues.apache.org/jira/browse/CASSANDRA-17084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-17084: ----------------------------------------- Status: Ready to Commit (was: Review In Progress) > startup fails if directories do not exist > ----------------------------------------- > > Key: CASSANDRA-17084 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17084 > Project: Cassandra > Issue Type: Bug > Components: Local/Startup and Shutdown > Reporter: Brandon Williams > Assignee: Brandon Williams > Priority: Normal > Fix For: 4.1 > > > Prior to CASSANDRA-16926, having commitlog and data dirs defined that did not > exist would be created on startup, but now we throw: > {noformat} > Exception (org.apache.cassandra.exceptions.ConfigurationException) > encountered during startup: Unable check disk space in > 'bin/../data/commitlog'. Perhaps the Cassandra user does not have the > necessary permissions > org.apache.cassandra.exceptions.ConfigurationException: Unable check disk > space in 'bin/../data/commitlog'. Perhaps the Cassandra user does not have > the necessary permissions > at > org.apache.cassandra.config.DatabaseDescriptor.lambda$tryGetSpace$3(DatabaseDescriptor.java:1188) > at > org.apache.cassandra.io.util.PathUtils.tryOnFileStore(PathUtils.java:639) > at > org.apache.cassandra.io.util.PathUtils.tryGetSpace(PathUtils.java:665) > at > org.apache.cassandra.config.DatabaseDescriptor.tryGetSpace(DatabaseDescriptor.java:1188) > at > org.apache.cassandra.config.DatabaseDescriptor.applySimpleConfig(DatabaseDescriptor.java:553) > at > org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:350) > at > org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:178) > at > org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:162) > at > org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:800) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:736) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:871) > {noformat} > This was at least convenient for development, but also may be relied upon by > some tooling/automation. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org