cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alta...@ceid.upatras.gr
Subject Creating two instances in code
Date Thu, 29 Jul 2010 16:36:47 GMT
Hello,

I'd like to make some changes to cassandra so that when starting up a node
in a cluster, another node starts in another cluster. That requires that
the two nodes have different configurations, but DatabaseDescriptor (where
I think all the config reading is done) seems to load everything
statically when the class is loaded. The configuration path seems to
reside in System.getProperties(). Can you suggest a way for me to build a
second node with a different configuration path in the same code?

Unfortunately, I cannot simply launch two different cassandra instances on
the same computer, as I want the second node to have access to information
from the first node, such as node load for the first cluster and such
(plus even running two separate cassandra instances on the same node seems
to require workarounds and hacks).

Alexander Altanis

Mime
View raw message