Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
Correctness - Recoverable Corruption / Loss
-
Normal
-
Low Hanging Fruit
-
User Report
-
All
-
None
Description
When you download trunk and do ./bin/cassandra -f, this will fail on a fresh clone as “data” directory does not exist. The failure happens in org.apache.cassandra.config.DatabaseDescriptor#tryGetSpace which throws a new error
throw new ConfigurationException("Unable check disk space in '" + dir + "'. Perhaps the Cassandra user does not have the necessary permissions")
Attachments
Issue Links
- duplicates
-
CASSANDRA-17084 startup fails if directories do not exist
- Resolved