[ 
https://issues.apache.org/jira/browse/CASSANDRA-17992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17740329#comment-17740329
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-17992 at 7/5/23 9:52 PM:
-------------------------------------------------------------------------

As asked for in Slack, I looked over the test failures.
- simulationTest-cassandra.testtag_IS_UNDEFINED seems like the only new unit 
test failure. BUT I tend to see lately (butler can confirm) tests failing 
because the testtag_IS_UNDEFINED, so I suspect we need an umbrella ticket for 
that type of failure, which has nothing to do with what we do here. 
I also cannot reproduce this failure locally with the Netty upgrade branch.
- The rest of the unit test failures will be fixed when we commit 
CASSANDRA-18190.
- With JDK17, test_login_new_node is the only failure I haven't seen anything 
about in Butler, and no tickets.
Though, I am not sure it can be related to the netty upgrade:

{code:java}
failed on teardown with "Unexpected error found in node logs (see stdout for 
full details). Errors: [[node3] 'ERROR [Native-Transport-Auth-Requests-1] 
2023-06-29 19:00:01,502 ExceptionHandlers.java:229 - Unexpected exception 
during request; channel = [id: 0xbf439ff8, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58128]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)', [node3] 'ERROR 
[Native-Transport-Auth-Requests-1] 2023-06-29 19:00:01,774 
ExceptionHandlers.java:229 - Unexpected exception during request; channel = 
[id: 0x1205363e, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58142]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)']"
Unexpected error found in node logs (see stdout for full details). Errors: 
[[node3] 'ERROR [Native-Transport-Auth-Requests-1] 2023-06-29 19:00:01,502 
ExceptionHandlers.java:229 - Unexpected exception during request; channel = 
[id: 0xbf439ff8, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58128]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)', [node3] 'ERROR 
[Native-Transport-Auth-Requests-1] 2023-06-29 19:00:01,774 
ExceptionHandlers.java:229 - Unexpected exception during request; channel = 
[id: 0x1205363e, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58142]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)']
{code}




was (Author: e.dimitrova):
As asked for in Slack, I looked over the test failures.
- simulationTest-cassandra.testtag_IS_UNDEFINED seems like the only new one. 
BUT I tend to see lately (butler can confirm) tests failing because the 
testtag_IS_UNDEFINED, so I suspect we need an umbrella ticket for that type of 
failure, which has nothing to do with what we do here. 
I also cannot reproduce this failure locally with the Netty upgrade branch.
- The rest of the unit test failures will be fixed when we commit 
CASSANDRA-18190.
- With JDK17, test_login_new_node is the only failure I haven't seen anything 
about in Butler, and no tickets.
Though, I am not sure it can be related to the netty upgrade:

{code:java}
failed on teardown with "Unexpected error found in node logs (see stdout for 
full details). Errors: [[node3] 'ERROR [Native-Transport-Auth-Requests-1] 
2023-06-29 19:00:01,502 ExceptionHandlers.java:229 - Unexpected exception 
during request; channel = [id: 0xbf439ff8, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58128]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)', [node3] 'ERROR 
[Native-Transport-Auth-Requests-1] 2023-06-29 19:00:01,774 
ExceptionHandlers.java:229 - Unexpected exception during request; channel = 
[id: 0x1205363e, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58142]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)']"
Unexpected error found in node logs (see stdout for full details). Errors: 
[[node3] 'ERROR [Native-Transport-Auth-Requests-1] 2023-06-29 19:00:01,502 
ExceptionHandlers.java:229 - Unexpected exception during request; channel = 
[id: 0xbf439ff8, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58128]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)', [node3] 'ERROR 
[Native-Transport-Auth-Requests-1] 2023-06-29 19:00:01,774 
ExceptionHandlers.java:229 - Unexpected exception during request; channel = 
[id: 0x1205363e, L:/127.0.0.3:9042 - 
R:/127.0.0.1:58142]\njava.lang.AssertionError: null\n\tat 
org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1179)\n\tat
 
org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1193)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)\n\tat
 
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicasForToken(AbstractReplicationStrategy.java:88)\n\tat
 
org.apache.cassandra.locator.ReplicaLayout.forTokenReadLiveSorted(ReplicaLayout.java:330)\n\tat
 org.apache.cassandra.locator.ReplicaPlans.forRead(ReplicaPlans.java:593)\n\tat 
org.apache.cassandra.service.reads.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:190)\n\tat
 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:2097)\n\tat
 
org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1995)\n\tat
 org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1873)\n\tat 
org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1286)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:364)\n\tat
 
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:293)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.select(PasswordAuthenticator.java:201)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator.queryHashedPassword(PasswordAuthenticator.java:177)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)\n\tat
 
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)\n\tat
 
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)\n\tat
 
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)\n\tat
 
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)\n\tat
 org.apache.cassandra.auth.AuthCache.get(AuthCache.java:228)\n\tat 
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.java:142)\n\tat
 
org.apache.cassandra.auth.PasswordAuthenticator$PlainTextSaslAuthenticator.getAuthenticatedUser(PasswordAuthenticator.java:268)\n\tat
 
org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80)\n\tat
 org.apache.cassandra.transport.Message$Request.execute(Message.java:256)\n\tat 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:194)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:213)\n\tat
 
org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:240)\n\tat
 
org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:137)\n\tat
 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)\n\tat 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat 
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)']
{code}



> Upgrade Netty on 5.0
> --------------------
>
>                 Key: CASSANDRA-17992
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17992
>             Project: Cassandra
>          Issue Type: Task
>          Components: Dependencies
>            Reporter: Ekaterina Dimitrova
>            Assignee: Jacek Lewandowski
>            Priority: Low
>             Fix For: 5.x
>
>
> I haven't been able to identify from the Netty docs which was the lowest 
> version where JDK17 was added but we are about 40 versions behind in netty 4 
> so I suspect we better update. 
> -We need to consider there was an issue with class cast exceptions when 
> building with JDK17 with newer versions of netty (the newest available in 
> March 2022). For the record, we didn't see those when running CI on JDK8 and 
> JDK11. We also need to carefully revise the changes between the netty 
> versions. -->- CASSANDRA-18180
> Upgrading will cover also a fix in netty that was discussed in 
> [this|https://the-asf.slack.com/archives/CK23JSY2K/p1665567660202989] ASF 
> Slack thread. 
> CC [~benedict] , [~aleksey] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to