标签: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 more null
客户端能ping通
发现问题
本地代码获取ip为127.0.0.1,既redis集群不对外发布,注意创建集群时指定ip而不是127.0.0.1(即时你是伪集群)
一个疏忽的错误吧,大家注意一下
redis:java.util.NoSuchElementException: Unable to validate object
标签:trie handle date manage obj cep 分享 slots nts
原文地址:http://www.cnblogs.com/yinfj/p/7993436.html