Re: Cassandra nodes on EC2 in two different regions not communicating

2011-03-23 Thread Himanshi Sharma
Hello All, My problem with Cassandra across region is solved. Thanks to Milind and Peter. I was editing the Source, the two files MessagingService.java and OutboundTcpConnection.java correctly and even was able to build it successfully by referring the patch on

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-03-01 Thread Peter Fales
Are you running nodetool on the host, or on a remote machine? If local, does netstat -n show that you are listening on the JMX port? If remote, have you added the JMX port to your security group? On Tue, Mar 01, 2011 at 12:54:13AM -0600, Himanshi Sharma wrote: Peter, I build Cassandra

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-28 Thread Himanshi Sharma
Hi Peter, I made changes as per ur patch. Still its nt working. Using external ip in Listen addr gives this exception. ERROR 11:47:14,092 Exception encountered during startup. java.net.BindException: Cannot assign requested address at sun.nio.ch.Net.bind(Native Method) at

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-28 Thread Peter Fales
Are you sure you actually re-built Cassandra after making those source code changes? I believe Cannot assign requested address is the error you get with the official Cassandra because the external IP address is not the actual address of an adapter. The patches change the code so that it

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-28 Thread Himanshi Sharma
Peter, I build Cassandra after making changes as per ur patch. Nw when try nodetool i get this exception. [root@ip-10-170-153-71 bin]# ./nodetool -h 175.41.143.192 ring Error connection to remote JMX agent! java.rmi.ConnectException: Connection refused to host: 10.130.62.177; nested

Cassandra nodes on EC2 in two different regions not communicating

2011-02-24 Thread Himanshi Sharma
Hi All, I am trying to configure a cassandra cluster of 2 nodes in different regions of amazon ec2. Nodes are running fine but when i try nodetool command with ring option i get single node. And both the nodes are able to ping each other, telnet each other. Not able to figure out what is

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-24 Thread Himanshi Sharma
Peter, Please tell me the options. I m new to cassandra and definitely want to try out. Thanks, Himanshi From: Peter Fales peter.fa...@alcatel-lucent.com To: dev@cassandra.apache.org dev@cassandra.apache.org Date: 02/24/2011 06:30 PM Subject: Re: Cassandra nodes on EC2 in two different

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-24 Thread Peter Fales
I sent a note mentioning this yesterday and referring to my post from last September. See: http://www.mail-archive.com/user@cassandra.apache.org/msg05692.html On Thu, Feb 24, 2011 at 07:04:03AM -0600, Himanshi Sharma wrote: Peter, Please tell me the options. I m new to cassandra and