IMap.get("string-key") getting timed-out for Java Client

32 views
Skip to first unread message

Rishav Shandilya

unread,
Feb 21, 2022, 10:32:31 AM2/21/22
to Hazelcast
Hi Hazelcast Team,

Our Hazelcast cluster is running on AWS EC2 instances and we have some Java application which is using Hazelcast client API and connecting to cluster outside of AWS.

Now, the client is not able to fetch data from IMap of type <String,String> using:

IMap<String, String> map = hzclient.getMap("map-name");
String value = map.get("key-name"); // At this point thread is getting stuck and finally timeout exception

Although, hzclient.getMap("map-name").entrySet() is working fine. Also, REST call is working fine too.

Could you please let us why it's getting timed - out?

PS: We are using hazelcast server and client version: 3.12.4

Neil Stevenson

unread,
Feb 21, 2022, 1:01:29 PM2/21/22
to Hazelcast
 Is the key present in the entry set ?
 Is there a Map Interceptor or Map Loader for this map ?
 Does this happen every time or intermittently ?
 Are there any logs that you can share please ?



Reply all
Reply to author
Forward
0 new messages