[
https://issues.apache.org/jira/browse/CASSANDRA-17115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-17115:
-----------------------------------------
Resolution: Duplicate
Status: Resolved (was: Open)
> When data dir is not present, we fail as FileNotFound causes
> org.apache.cassandra.config.DatabaseDescriptor#tryGetSpace to fail
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17115
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17115
> Project: Cassandra
> Issue Type: Bug
> Components: Legacy/Core
> Reporter: Analucia Esparza-Chavez
> Priority: Normal
> Fix For: 4.x
>
>
> 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
>
> {code}
> throw new ConfigurationException("Unable check disk space in '" + dir + "'.
> Perhaps the Cassandra user does not have the necessary permissions")
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]