我将Redis用作消息队列,但今天我注意到此异常

时间:2018-06-21 10:06:48

标签: java redis thread-safety

  

redis.clients.jedis.exceptions.JedisConnectionException:   java.net.SocketException:管道损坏(写入失败)位于   redis.clients.jedis.Connection.flush(Connection.java:334)   〜[jedis-2.9.0.jar :?]在   redis.clients.jedis.Connection.getBinaryMultiBulkReply(Connection.java:274)   〜[jedis-2.9.0.jar :?]在   redis.clients.jedis.Jedis.hgetAll(Jedis.java:848)〜[jedis-2.9.0.jar :?]   由以下原因引起:java.net.SocketException:管道损坏(写入失败)位于   java.net.SocketOutputStream.socketWrite0(本机方法)〜[?:1.8.0_171]     在   java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)   〜[?:1.8.0_171]在   java.net.SocketOutputStream.write(SocketOutputStream.java:155)   〜[?:1.8.0_171]在   redis.clients.util.RedisOutputStream.flushBuffer(RedisOutputStream.java:52)   〜[jedis-2.9.0.jar :?]在   redis.clients.util.RedisOutputStream.flush(RedisOutputStream.java:216)   〜[jedis-2.9.0.jar :?]在   redis.clients.jedis.Connection.flush(Connection.java:331)   〜[jedis-2.9.0.jar :?] ...还有8个

0 个答案:

没有答案