我最近将datastax-enterprise从4.8.16升级到5.0.15。升级后,我在日志中看到了下面的异常,尽管Cassandra查询运行良好。
INFO [epollEventLoopGroup-6-10 - org.apache.cassandra.transport.Message:627] Unexpected exception during request; channel = [id: 0x9b377ba1, L:/10.26.156.233:9042 ! R:/10.26.143.14:43788]
java.nio.channels.ClosedChannelException: null
at io.netty.channel.AbstractChannel$AbstractUnsafe.close(...)(Unknown Source)
2018-12-11 09:35:42.478 INFO [epollEventLoopGroup-6-10 - org.apache.cassandra.transport.Message:627] Unexpected exception during request; channel = [id: 0x9b377ba1, L:/10.26.156.233:9042 ! R:/10.26.143.14:43788]
java.nio.channels.ClosedChannelException: null发布于 2018-12-13 14:38:53
我能够解决这个问题。由于DSE Cassandra 5.0不支持Thrift协议,并且一些应用程序(不要问我为什么,一些非常旧的应用程序)使用Thrift协议连接到升级的cassandra,从而导致此错误。
https://stackoverflow.com/questions/53721412
复制相似问题