You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Philip Thompson (JIRA)" <ji...@apache.org> on 2015/03/27 18:18:53 UTC

[jira] [Commented] (CASSANDRA-8534) The default configuration URL does not have the required file:// prefix and throws an exception if cassandra.config is not set.

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

Philip Thompson commented on CASSANDRA-8534:
--------------------------------------------

[~mikea], am I correct in thinking that based on your response, this is not a problem?

> 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: Ubuntu 14.04 64-bit
> C* 2.1.2
>            Reporter: Andrew Trimble
>            Priority: Minor
>             Fix For: 2.1.4
>
>         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)