Hazelcast 2.1 on AWS

108 views
Skip to first unread message

paolo...@gmail.com

unread,
May 3, 2012, 2:05:56 AM5/3/12
to haze...@googlegroups.com
I recently tried upgrading from Hazelcast 2.0.3 to Hazelcast 2.1.  Using my unmodified HZ-2.0.3 configuration, my 3-node system can no longer establish a connection with each other to form a cluster.  

The following message repeats indefinitely:

2012-05-02 21:58:52,869 T=[main] WARN  ~ [fe80:0:0:0:1031:3bff:fe12:cd71]:10000 [prod] Failed to connect, node joined= false, allConnected= false to all other members after 0 seconds. L=[TcpIpJoinerOverAWS]
2012-05-02 21:58:52,870 T=[main] WARN  ~ [fe80:0:0:0:1031:3bff:fe12:cd71]:10000 [prod] Rebooting after 10 seconds. L=[TcpIpJoinerOverAWS]


Are there new configuration options with Hazelcast 2.1 that I should be aware of?  I have since reverted to 2.0.3 to get my cluster up and running again.

Talip Ozturk

unread,
May 3, 2012, 4:47:58 AM5/3/12
to haze...@googlegroups.com
Are you using EC2-Discovery?
http://hazelcast.com/docs/2.1/manual/single_html/#EC2AutoDiscovery

Can you post the <network> portion of your config (make sure you
remove private info before posting)?

http://twitter.com/oztalip
> --
> You received this message because you are subscribed to the Google Groups
> "Hazelcast" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hazelcast/-/eeKPyZtkTIQJ.
> To post to this group, send email to haze...@googlegroups.com.
> To unsubscribe from this group, send email to
> hazelcast+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hazelcast?hl=en.

Mehmet Dogan

unread,
May 3, 2012, 4:48:50 AM5/3/12
to haze...@googlegroups.com
AFAIK, aws has no IPv6 support, it seems your node picked an IPv6 address (version 2.1 introduced IPv6 support). Set 'java.net.preferIPv4Stack' system property to true to make JVM use only IPv4 addresses.

-Djava.net.preferIPv4Stack=true 

-OR-

System.setProperty("java.net.preferIPv4Stack", "true")

Also you can disable IPv6 by property -Djava.net.preferIPv6Addresses=false

@mmdogan




On Thu, May 3, 2012 at 9:05 AM, <paolo...@gmail.com> wrote:

--

Paolo de Dios

unread,
May 3, 2012, 9:51:51 PM5/3/12
to haze...@googlegroups.com
Ah, that makes sense.  I'll disable IPv6 and force the JVM to use the IPv4 stack.

I hope this tidbit makes it to the official documentation.

Thanks, guys.
To unsubscribe from this group, send email to hazelcast+unsubscribe@googlegroups.com.
To unsubscribe from this group, send email to hazelcast+unsubscribe@googlegroups.com.
To unsubscribe from this group, send email to hazelcast+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages