You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "zybreak (via GitHub)" <gi...@apache.org> on 2024/12/11 14:14:41 UTC
[PR] NPE when Clean.apply called with null as first argument [cassandra]
zybreak opened a new pull request, #3736:
URL: https://github.com/apache/cassandra/pull/3736
Our Cassandra 5.0.2 cluster is struggling when consuming large amounts of embeddings (>200M) and at some point (a node dies with the following stack trace:
```
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "res" is null
at org.apache.cassandra.utils.memory.MemtableCleanerThread$Clean.apply(MemtableCleanerThread.java:97)
at org.apache.cassandra.utils.concurrent.ListenerList$CallbackBiConsumerListener.run(ListenerList.java:244)
at org.apache.cassandra.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:140)
at org.apache.cassandra.utils.concurrent.ListenerList.safeExecute(ListenerList.java:166)
at org.apache.cassandra.utils.concurrent.ListenerList.notifyListener(ListenerList.java:157)
at org.apache.cassandra.utils.concurrent.ListenerList$CallbackBiConsumerListener.notifySelf(ListenerList.java:250)
at org.apache.cassandra.utils.concurrent.ListenerList.lambda$notifyExclusive$0(ListenerList.java:124)
at org.apache.cassandra.utils.concurrent.IntrusiveStack.forEach(IntrusiveStack.java:195)
at org.apache.cassandra.utils.concurrent.ListenerList.notifyExclusive(ListenerList.java:124)
at org.apache.cassandra.utils.concurrent.ListenerList.notify(ListenerList.java:96)
at org.apache.cassandra.utils.concurrent.AsyncFuture.trySet(AsyncFuture.java:104)
at org.apache.cassandra.utils.concurrent.AbstractFuture.tryFailure(AbstractFuture.java:148)
at org.apache.cassandra.utils.concurrent.AsyncPromise.tryFailure(AsyncPromise.java:139)
at org.apache.cassandra.db.memtable.AbstractAllocatorMemtable.lambda$flushLargestMemtable$0(AbstractAllocatorMemtable.java:306)
at org.apache.cassandra.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:140)
at org.apache.cassandra.utils.concurrent.ListenerList.safeExecute(ListenerList.java:166)
at org.apache.cassandra.utils.concurrent.ListenerList.notifyListener(ListenerList.java:157)
at org.apache.cassandra.utils.concurrent.ListenerList$RunnableWithExecutor.notifySelf(ListenerList.java:345)
at org.apache.cassandra.utils.concurrent.ListenerList.lambda$notifyExclusive$0(ListenerList.java:124)
at org.apache.cassandra.utils.concurrent.IntrusiveStack.forEach(IntrusiveStack.java:195)
at org.apache.cassandra.utils.concurrent.ListenerList.notifyExclusive(ListenerList.java:124)
at org.apache.cassandra.utils.concurrent.ListenerList.notify(ListenerList.java:96)
at org.apache.cassandra.utils.concurrent.AsyncFuture.trySet(AsyncFuture.java:104)
at org.apache.cassandra.utils.concurrent.AbstractFuture.tryFailure(AbstractFuture.java:148)
at org.apache.cassandra.concurrent.FutureTask.tryFailure(FutureTask.java:87)
at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:75)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:840)
```
Which results from the Clean.apply method being called with null for the first argument
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
Re: [PR] NPE when Clean.apply called with null as first argument [cassandra]
Posted by "zybreak (via GitHub)" <gi...@apache.org>.
zybreak commented on PR #3736:
URL: https://github.com/apache/cassandra/pull/3736#issuecomment-3368785223
Could I get some eyes on this Pull-Request, unless its already been addressed it does seem to resolve a regression as per the ticket discussion
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
Re: [PR] NPE when Clean.apply called with null as first argument [cassandra]
Posted by "zybreak (via GitHub)" <gi...@apache.org>.
zybreak commented on PR #3736:
URL: https://github.com/apache/cassandra/pull/3736#issuecomment-2539011756
@bbotella Yes, just got the account activated so here is a issue connected to this pull request https://issues.apache.org/jira/browse/CASSANDRA-20141
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
Re: [PR] NPE when Clean.apply called with null as first argument [cassandra]
Posted by "bbotella (via GitHub)" <gi...@apache.org>.
bbotella commented on PR #3736:
URL: https://github.com/apache/cassandra/pull/3736#issuecomment-2536890000
Can you please create a Jira ticket for this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org