You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2021/11/02 20:46:00 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 ]
David Capwell updated CASSANDRA-17115:
--------------------------------------
Bug Category: Parent values: Correctness(12982)Level 1 values: Recoverable Corruption / Loss(12986)
Complexity: Low Hanging Fruit
Component/s: Legacy/Core
Discovered By: User Report
Fix Version/s: 4.x
Severity: Normal
Status: Open (was: Triage Needed)
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org