You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marco Tulio Avila Cerón (JIRA)" <ji...@apache.org> on 2014/06/14 12:24:01 UTC

[jira] [Commented] (CASSANDRA-7398) Using the -Dcassandra.config VM param needs a "file:///" prefix for the supplied URL

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

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

I agree that trying to recover from all possible exceptions will bloat the code, however an exception is thrown when something "exceptional" happens, (that is where it comes the name from). And a good system should try to recover from the exception situation, letting the user know that the input is wrong is another possibility, but in personal opinion I would try to recover and try one more time then throwing the exception, as in the patch proposed.

> 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 rc1
>
>         Attachments: CASSANDRA-7398_prefix.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)