cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyuben Todorov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7398) Using the -Dcassandra.config VM param needs a "file:///" prefix for the supplied URL
Date Tue, 24 Jun 2014 13:56:26 GMT


Lyuben Todorov commented on CASSANDRA-7398:

bq. A prefix with a single slash (i.e. "file:/") or double slash (i.e. "file://" ) also works
using windows CMD. However, applying this update will replace those prefixes by "file:///file:/"
and "file:///file://" respectively which do not work.

This is why I think instead of trying to correct the input by appending the prefix is a bad
idea and instead we should throw an exception preventing server startup.  

bq. the assumption to prefix "everything" with file:/// (three slashes before drive specification)
is wrong.
bq. Java needs "file:///" in the cassandra.config param

We need to come to a consensus on what the prefix should be. /cc [~ala.alkhaldi][~snazy][~JoshuaMcKenzie]

> 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
>            Assignee: Marco Tulio Avila Cerón
>            Priority: Minor
>              Labels: lhf, patch
>             Fix For: 2.1 rc2
>         Attachments: CASSANDRA-7398_prefix_v2.patch, CASSANDRA-7398_prefix_v3.patch,
CASSANDRA-7398_prefix_v4.patch, trunk-7398_v5.txt, trunk-7398_v6.txt, trunk-7398_v7.txt, trunk-7398_v8.txt,
trunk-7398_v8_impl.txt, trunk-7398_v8_test.txt
>   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