Setup a multinode Cassandra using Ubuntu 12.04 and Virtualbox

Setup a multinode Cassandra using Ubuntu 12.04 and Virtualbox 1. Setup virtual machines (3 for exmaple) You should first setup one machine using virtualbox, setup JAVA environment, download the Cassandra source code Use Virtualbox’s virtualmanager function to copy another two ubuntu machines. Make sure to modify the hostname. Modify the /etc/hosts file. Machine summary 192.168.56.101 sjhadoop0 192.168.56.103 sjhadoop1 192.168.56.104 sjhadoop2 2. Config Cassandra Modify /conf/cassandra-env.shfile. MAX_HEAP_SIZE="512M" HEAP_NEWSIZE="128M" Modify /conf/cassandra.yaml file. For each virtual machine, change listen_address and rpc_addressaccordingly. ...

June 5, 2012 · 1 min · mousepotato