You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2022/01/10 09:38:00 UTC

[jira] [Commented] (CASSANDRA-17084) startup fails if directories do not exist

    [ https://issues.apache.org/jira/browse/CASSANDRA-17084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471803#comment-17471803 ] 

Berenguer Blasi commented on CASSANDRA-17084:
---------------------------------------------

They seem to be failing [~brandon.williams]?

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org