You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2022/02/17 08:21:03 UTC

[jira] [Updated] (CASSANDRA-17115) When data dir is not present, we fail as FileNotFound causes org.apache.cassandra.config.DatabaseDescriptor#tryGetSpace to fail

     [ https://issues.apache.org/jira/browse/CASSANDRA-17115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Semb Wever updated CASSANDRA-17115:
-------------------------------------------
    Fix Version/s:     (was: 4.x)

> 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.1
>
>
> 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.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org