incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjan van Ham <>
Subject Dual NIC server problems
Date Tue, 14 Dec 2010 08:36:36 GMT

I have a cluster with three nodes, version 0.7.0 RC2. Each node has dual NIC's, eth0 to the
internet and eth1 to a private network ( The outside NIC  on each node is frewalled
using iptables, only port 22 is allowed through. My cassandra.yaml configuration file refers
only to the internal hostnames that resolve to addresses.

Most of my Cassandra installation works fine, except for a few nodetool commands. It seems
that they are trying to access the servers over the outside (firewalled) NIC and thus fail.
If I disable the firewall they work fine. 

For example:

[cassandra@node11 ~]$ nodetool -h decommission
Error connecting to remote JMX agent!
java.rmi.ConnectException: Connection refused to host:; nested exception is: Connection timed out
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
        at sun.rmi.transport.tcp.TCPChannel.createConnection(
        at sun.rmi.transport.tcp.TCPChannel.newConnection(
        at sun.rmi.server.UnicastRef.invoke(
        at Source)

And if I disable the firewall on the remote node it works right away.

Any ideas anyone?

View raw message