Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.1.6 issue - java.lang.NoClassDefFoundError: org.apache.cassandra.service.LuceneStorageProxy (initialization failure) #39

Open
wants to merge 1 commit into
base: cassandra-4.1.6
Choose a base branch
from

Conversation

mk01
Copy link

@mk01 mk01 commented Nov 3, 2024

Unexpected exception during request; channel = [id: 0xf3b04ed5, L:/172.19.138.44:9042 - R:/172.19.133.25:51606] 
java.lang.NoClassDefFoundError: org.apache.cassandra.service.LuceneStorageProxy (initialization failure)
    at java.base/java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:166)
    at com.stratio.cassandra.lucene.IndexPagingState.update(IndexPagingState.scala:152)
    ...
    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:142)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Thread.java:839)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: 
org.apache.cassandra.service.StorageProxy.fetchRows(java.util.List, org.apache.cassandra.db.ConsistencyLevel, long)
    at org.apache.cassandra.service.LuceneStorageProxy.<clinit>(LuceneStorageProxy.java:59)
    ... 22 common frames omitted
Caused by: java.lang.NoSuchMethodException: 
org.apache.cassandra.service.StorageProxy.fetchRows(java.util.List, org.apache.cassandra.db.ConsistencyLevel, long)
    at java.base/java.lang.Class.newNoSuchMethodException(Class.java:649)
    at java.base/java.lang.Class.throwExceptionOrReturnNull(Class.java:1449)
    ...

  4.1.6 branch is broken. fix LuceneStorageProxy.java

Unexpected exception during request; channel = [id: 0xf3b04ed5, L:/172.19.138.44:9042 - R:/172.19.133.25:51606]
java.lang.NoClassDefFoundError: org.apache.cassandra.service.LuceneStorageProxy (initialization failure)
    at java.base/java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:166)
    at com.stratio.cassandra.lucene.IndexPagingState.update(IndexPagingState.scala:152)
    ...
    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:142)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Thread.java:839)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.cassandra.service.StorageProxy.fetchRows(java.util.List, org.apache.cassandra.db.ConsistencyLevel, long)
    at org.apache.cassandra.service.LuceneStorageProxy.<clinit>(LuceneStorageProxy.java:59)
    ... 22 common frames omitted
Caused by: java.lang.NoSuchMethodException: org.apache.cassandra.service.StorageProxy.fetchRows(java.util.List, org.apache.cassandra.db.ConsistencyLevel, long)
    at java.base/java.lang.Class.newNoSuchMethodException(Class.java:649)
    at java.base/java.lang.Class.throwExceptionOrReturnNull(Class.java:1449)
    ...
@mk01 mk01 changed the title - 4.1.6 issue - java.lang.NoClassDefFoundError: org.apache.cassandra.service.LuceneStorageProxy (initialization failure) 4.1.6 issue - java.lang.NoClassDefFoundError: org.apache.cassandra.service.LuceneStorageProxy (initialization failure) Nov 3, 2024
@smiklosovic
Copy link
Collaborator

smiklosovic commented Nov 19, 2024

@mk01 I am absolutely unable to merge this. I just can't reference this commit of yours. Total magic. Something strange is going on here.

If I add your repo as another remote and do git checkout mk01/cassandra-4.1.6, I do not see any changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants