cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Tulio Avila Cerón (JIRA) <>
Subject [jira] [Commented] (CASSANDRA-7398) Using the -Dcassandra.config VM param needs a "file:///" prefix for the supplied URL
Date Tue, 17 Jun 2014 09:14:01 GMT


Marco Tulio Avila Cerón commented on CASSANDRA-7398:

The user will see the following in the logs:

INFO  [main] 2014-06-17 11:06:35,063 Hostname: marcoavilac-win
ERROR [main] 2014-06-17 11:06:50,639 Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Not a UNIX environment detected and
"file:///" not supplied in the start of path
	at org.apache.cassandra.config.YamlConfigurationLoader.getStorageConfigURL(
	at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(
	at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(
	at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(
	at org.apache.cassandra.service.CassandraDaemon.setup( [main/:na]
	at org.apache.cassandra.service.CassandraDaemon.activate( [main/:na]
	at org.apache.cassandra.service.CassandraDaemon.main( [main/:na]

> Using the -Dcassandra.config VM param needs a "file:///" prefix for the supplied URL
> ------------------------------------------------------------------------------------
>                 Key: CASSANDRA-7398
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment:  Cassandra 2.1.0-rc1-SNAPSHOT, Win 7
>            Reporter: Marco Tulio Avila Cerón
>            Priority: Minor
>              Labels: lhf, patch
>             Fix For: 2.1 rc2
>         Attachments: CASSANDRA-7398_prefix_v2.patch
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> The parameter in the VM options -Dcassandra.config= needs file:///
> Allow the user to have optional "file:///" when loading the config file from the filesystem

This message was sent by Atlassian JIRA

View raw message