You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andrew Trimble (JIRA)" <ji...@apache.org> on 2014/12/23 19:54:13 UTC
[jira] [Created] (CASSANDRA-8534) The default configuration URL
does not have the required file:// prefix and throws an exception if
cassandra.config is not set.
Andrew Trimble created CASSANDRA-8534:
-----------------------------------------
Summary: The default configuration URL does not have the required file:// prefix and throws an exception if cassandra.config is not set.
Key: CASSANDRA-8534
URL: https://issues.apache.org/jira/browse/CASSANDRA-8534
Project: Cassandra
Issue Type: Bug
Components: Config, Core
Environment: Any
Reporter: Andrew Trimble
Fix For: 2.1.3
Attachments: error.txt
In the class org.apache.cassandra.config.YamlConfigurationLoader, the DEFAULT_CONFIGURATION is set to "cassandra.yaml". This is improperly formatted as it does not contain the prefix "file://". If this value is used, a ConfigurationException is thrown (see line 73 of the same class).
A solution is to set the cassandra.config system property, but this does not solve the underlying problem. A vanilla Cassandra installation will throw this error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)