This is nice!
I was looking for something like this to implement a multi DC cluster
between OVh and Amazon.
Thanks for sharing!
[]s


2014-06-20 15:35 GMT-03:00 Jeremy Jongsma <jer...@barchart.com>:

> Sharing in case anyone else wants to use this:
>
>
> https://github.com/barchart/cassandra-plugins/blob/master/src/main/java/com/barchart/cassandra/plugins/snitch/GossipingPropertyFileWithEC2FallbackSnitch.java
>
> Basically it is a proxy that attempts to use GossipingPropertyFileSnitch,
> and it that fails to initialize due to missing "rack" or "datacenter"
> values, it falls back to Ec2MultiRegionSnitch. We are using it for hybrid
> cloud deployments between AWS and our private datacenter.
>
>
> On Fri, Jun 20, 2014 at 1:04 PM, Tyler Hobbs <ty...@datastax.com> wrote:
>
>> The lib directory (where all the other jars are).  bin/cassandra.in.sh
>> does this:
>>
>> for jar in "$CASSANDRA_HOME"/lib/*.jar; do
>>     CLASSPATH="$CLASSPATH:$jar"
>> done
>>
>>
>>
>> On Fri, Jun 20, 2014 at 12:58 PM, Jeremy Jongsma <jer...@barchart.com>
>> wrote:
>>
>>> Where do I add my custom snitch JAR to the Cassandra classpath so I can
>>> use it?
>>>
>>
>>
>>
>> --
>> Tyler Hobbs
>> DataStax <http://datastax.com/>
>>
>
>

Reply via email to