+1. I agree we need to be able to run multiple server instances on one physical machine. This is especially necessary in development and test environments where one is experimenting and needs a cluster, but do not have access to multiple physical machines.
If you google , you can find a few blogs that talk about how to do this. But it is less than ideal. We need to be able to do it by changing ports in cassandra.yaml. ( The way it is done easily with Hadoop or Apache Kafka or Redis and many other distributed systems) regards On Thu, May 21, 2015 at 10:32 AM, Dan Kinder <dkin...@turnitin.com> wrote: > Hi, I'd just like some clarity and advice regarding running multiple > cassandra instances on a single large machine (big JBOD array, plenty of > CPU/RAM). > > First, I am aware this was not Cassandra's original design, and doing this > seems to unreasonably go against the "commodity hardware" intentions of > Cassandra's design. In general it seems to be recommended against (at least > as far as I've heard from @Rob Coli and others). > > However maybe this term "commodity" is changing... my hardware/ops team > argues that due to cooling, power, and other datacenter costs, having > slightly larger nodes (>=32G RAM, >=24 CPU, >=8 disks JBOD) is actually a > better price point. Now, I am not a hardware guy, so if this is not > actually true I'd love to hear why, otherwise I pretty much need to take > them at their word. > > Now, Cassandra features seemed to have improved such that JBOD works > fairly well, but especially with memory/GC this seems to be reaching its > limit. One Cassandra instance can only scale up so much. > > So my question is: suppose I take a 12 disk JBOD and run 2 Cassandra nodes > (each with 5 data disks, 1 commit log disk) and either give each its own > container & IP or change the listen ports. Will this work? What are the > risks? Will/should Cassandra support this better in the future? > -- http://khangaonkar.blogspot.com/