標籤:trie handle date manage obj cep 分享 slots nts
redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:51) at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226) at redis.clients.jedis.JedisClusterInfoCache.renewClusterSlots(JedisClusterInfoCache.java:103) at redis.clients.jedis.JedisClusterConnectionHandler.renewSlotCache(JedisClusterConnectionHandler.java:52) at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:135) at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141) at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141) at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141) at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141) at redis.clients.jedis.JedisClusterCommand.runBinary(JedisClusterCommand.java:60) at redis.clients.jedis.BinaryJedisCluster.get(BinaryJedisCluster.java:98) at com.sinosig.components.redis.server.RedisCacheManager.getObj(RedisCacheManager.java:27) at com.sinosig.components.redis.server.RedisCacheManager.main(RedisCacheManager.java:37)Caused by: java.util.NoSuchElementException: Unable to validate object at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:506) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at redis.clients.util.Pool.getResource(Pool.java:49) ... 12 morenull
用戶端能ping通
發現問題
本地代碼擷取ip為127.0.0.1,既redis叢集不對外發布,注意建立叢集時指定ip而不是127.0.0.1(即時你是偽叢集)
一個疏忽的錯誤吧,大家注意一下
redis:java.util.NoSuchElementException: Unable to validate object