fateame 发表于 2017-12-21 12:41:02

在Redis Sentinel环境下,jedis该如何配置

四月 16, 2017 10:39:44 下午 redis.clients.jedis.JedisSentinelPool initSentinels  
信息: Trying to find master from available Sentinels...
  
四月
16, 2017 10:39:44 下午 redis.clients.jedis.JedisSentinelPool initSentinels  
信息: Redis master running at
192.168.244.10:6380, starting Sentinel listeners...  
四月
16, 2017 10:39:44 下午 redis.clients.jedis.JedisSentinelPool initPool  
信息: Created JedisPool to master at
192.168.244.10:6380  
2017/04/16 22:39:45 world
  
2017/04/16 22:39:46 world
  
2017/04/16 22:39:47 world
  
2017/04/16 22:39:48 world
  
2017/04/16 22:39:49 world
  
2017/04/16 22:39:50 world
  
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Software caused connection abort: recv failed
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
四月 16, 2017 10:40:21 下午 redis.clients.jedis.JedisSentinelPool initPool
  
信息: Created JedisPool to master at 192.168.244.10:6381
  
四月 16, 2017 10:40:21 下午 redis.clients.jedis.JedisSentinelPool initPool
  
信息: Created JedisPool to master at 192.168.244.10:6381
  
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  
redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  
2017/04/16 22:40:22 world
  
2017/04/16 22:40:23 world
  
2017/04/16 22:40:24 world
  
2017/04/16 22:40:25 world
  
2017/04/16 22:40:26 world
页: [1]
查看完整版本: 在Redis Sentinel环境下,jedis该如何配置