You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/02 22:13:00 UTC

[jira] [Updated] (CASSANDRA-15688) Invalid cdc_raw_directory prevents server startup

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

ASF GitHub Bot updated CASSANDRA-15688:
---------------------------------------
    Labels: pull-request-available  (was: )

> Invalid cdc_raw_directory prevents server startup
> -------------------------------------------------
>
>                 Key: CASSANDRA-15688
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15688
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Change Data Capture
>            Reporter: Jon Meredith
>            Assignee: Jon Meredith
>            Priority: Normal
>              Labels: pull-request-available
>
> If {{cdc_raw_directory}} is set to an invalid directory it prevents startup of the server even when cdc_enabled is set false.
> The directory can either be set directly by the {{cdc_raw_directory}} setting in configuration YAML or indirectly via the {{cassandra.storage_dir}} system property, which is how I encountered it.
> Easy to reproduce by setting {{cdc_raw_directory}} to {{notadir/notasubdir}}
> Additionally while investigating, discovered that {{DatabaseDescriptor.guessFileStore}} can cause a {{NullPointerException}} if it runs out of parent elements
>  before it can get a FileStore. It should provide a more useful ConfigurationException providing details on the problematic path.
>  {{guessFileStore}} is used for checks on {{commitlog_directory}}, {{cdc_raw_directory}} and {{data_file_directories}}.



--
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