JedisClusterMaxRedirectionsException when running in amazon cloud

446 views
Skip to first unread message

Yogesh BG

unread,
May 3, 2016, 8:07:29 AM5/3/16
to Jedis
I have 6 nodes running in amazon cloud. it has internal ip and public ip. cluster is created with internal ip and bind attribute is also set to internal ip.

written jedis cluster with public ip as we can not connect using the internal ip.

i am coming across the JedisClusterMaxRedirectionsException.

but when i increase the maxReDirection to 100, i just run success. but i am doubting is it correct to increase the value. 
Is there any performance affected? or any work around i can do?

redis.clients.jedis.exceptions.JedisClusterMaxRedirectionsException: Too many Cluster redirections?
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:97)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:131)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:152)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:131)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:152)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:131)
at redis.clients.jedis.JedisClusterCommand.run(JedisClusterCommand.java:30)
at redis.clients.jedis.JedisCluster.set(JedisCluster.java:60)
at com.sling.studio.jedis.data.impl.RStringImpl.set(RStringImpl.java:16)
at com.sling.studio.jedis.data.impl.RStringTest.testShouldSetAndDeleteTheKeyForAString(RStringTest.java:19)

Marcos Lilljedahl

unread,
May 4, 2016, 11:56:00 AM5/4/16
to Jedis

--
You received this message because you are subscribed to the Google Groups "Jedis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jedis_redis...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages