cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Trimble (JIRA)" <j...@apache.org>
Subject [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.
Date Tue, 23 Dec 2014 18:54:13 GMT
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)

Mime
View raw message