cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-2036) cassandra-topology.properties cannot reside inside jar file
Date Mon, 24 Jan 2011 15:59:50 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-2036.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis

committed the first patch, and created CASSANDRA-2040 for a more general solution to the URL
problem in 0.8

> cassandra-topology.properties cannot reside inside jar file
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-2036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0, 0.7.1
>            Reporter: Mck SembWever
>            Assignee: Mck SembWever
>             Fix For: 0.7.1
>
>         Attachments: CASSANDRA-2036.patch, CASSANDRA-2036.patch
>
>
> PropertyFileSnitch cannot load the cassandra-topology.properties if it is located inside
a jar file.
> At startup cassandra will print and exit
> [ERROR] 20:50:01  Fatal error: Unable to read cassandra-topology.properties
> Bad configuration; unable to start server
> It seems FBUtilities.resourceToFIle(..) can only be used for loading plain files.
> The attached patch solves the problem. It uses the standard java approach for loading
a resource stream...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message