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

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

The user then 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(YamlConfigurationLoader.java:62)
 ~[main/:na]
        at 
org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:87)
 ~[main/:na]
        at 
org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:153)
 ~[main/:na]
        at 
org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:129)
 ~[main/:na]
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:109) 
[main/:na]
        at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:455) 
[main/:na]
        at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:544) 
[main/:na]

> Using the -Dcassandra.config VM param needs a "file:///" prefix for the 
> supplied URL
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7398
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7398
>             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
(v6.2#6252)

Reply via email to