While joining a node to the cluster, we intermittently get:
ERROR [CompactionExecutor:2] 2021-02-03 12:06:09,966 CassandraDaemon.java:228 - Exception in thread Thread[CompactionExecutor:2,1,main]java.util.NoSuchElementException: null
This is immediately followed by:
ERROR [StreamReceiveTask:19] 2021-02-03 12:06:09,966 StreamSession.java:593 - [Stream #fba1aa60-6613-11eb-974b-391d84d34cb8] Streaming error occurred on session with peer 10.51.41.58 java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
Then it sends a fail message to the peer:
DEBUG [STREAM-OUT-/10.51.41.58:7001] 2021-02-03 12:06:09,967 ConnectionHandler.java:379 - [Stream #fba1aa60-6613-11eb-974b-391d84d34cb8] Sending Session Failed
On the peer's log there's only:
ERROR [STREAM-IN-/10.51.41.79:34226] 2021-02-03 12:06:09,970 StreamSession.java:706 - [Stream #fba1aa60-6613-11eb-974b-391d84d34cb8] Remote peer 10.51.41.79 failed stream session.
Any tips how to troubleshoot these and get rid of them? The bootstrap eventually fails and we believe it is because of these errors. Thanks!