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

Jacek Lewandowski edited comment on CASSANDRA-18902 at 12/6/23 10:26 AM:
-------------------------------------------------------------------------

unfortunately... it does not seem to help: 
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1148/workflows/f18eb2bc-4bb2-4377-b3ba-5d1dc2bb03ff/jobs/53974

{noformat}
WARN  [node3_MigrationStage:1] node3 2023-12-05 11:30:22,521 Unable to load 
version.properties
java.lang.NullPointerException: null
        at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:130)
        at 
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:152)
        at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:239)
        at 
org.apache.cassandra.utils.FBUtilities.getReleaseVersionString(FBUtilities.java:424)
        at 
org.apache.cassandra.utils.FBUtilities.getReleaseVersionMajor(FBUtilities.java:444)
        at 
org.apache.cassandra.schema.MigrationCoordinator.shouldPullFromEndpoint(MigrationCoordinator.java:370)
        at 
org.apache.cassandra.schema.MigrationCoordinator.maybePullSchema(MigrationCoordinator.java:302)
        at 
org.apache.cassandra.schema.MigrationCoordinator.pullComplete(MigrationCoordinator.java:685)
        at 
org.apache.cassandra.schema.MigrationCoordinator.access$100(MigrationCoordinator.java:98)
        at 
org.apache.cassandra.schema.MigrationCoordinator$Callback.fail(MigrationCoordinator.java:614)
        at 
org.apache.cassandra.schema.MigrationCoordinator$Callback.onFailure(MigrationCoordinator.java:609)
        at 
org.apache.cassandra.schema.MigrationCoordinator.pullSchema(MigrationCoordinator.java:653)
        at 
org.apache.cassandra.schema.MigrationCoordinator.lambda$scheduleSchemaPull$2(MigrationCoordinator.java:547)
        at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
        at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
        at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
        at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
        at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
        at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:750)
{noformat}

:(

In case it happens, the method returns "debug version" as a version string, 
which is obviously different than "Unknown" but it also has no dot

I suppose this is unrelated - it may happen as that method is called 
asynchronously during tear down. The nodes are running in isolated class 
loaders so when the node is destroyed, the class loader is wiped and the 
resources disappear. IDK, but it looks to me as such. Though the core problem 
is that the node failed to start because it could not achieve the schema 
agreement in 30 seconds.



was (Author: jlewandowski):
unfortunately... it does not seem to help: 
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1148/workflows/f18eb2bc-4bb2-4377-b3ba-5d1dc2bb03ff/jobs/53974

{noformat}
WARN  [node3_MigrationStage:1] node3 2023-12-05 11:30:22,521 Unable to load 
version.properties
java.lang.NullPointerException: null
        at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:130)
        at 
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:152)
        at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:239)
        at 
org.apache.cassandra.utils.FBUtilities.getReleaseVersionString(FBUtilities.java:424)
        at 
org.apache.cassandra.utils.FBUtilities.getReleaseVersionMajor(FBUtilities.java:444)
        at 
org.apache.cassandra.schema.MigrationCoordinator.shouldPullFromEndpoint(MigrationCoordinator.java:370)
        at 
org.apache.cassandra.schema.MigrationCoordinator.maybePullSchema(MigrationCoordinator.java:302)
        at 
org.apache.cassandra.schema.MigrationCoordinator.pullComplete(MigrationCoordinator.java:685)
        at 
org.apache.cassandra.schema.MigrationCoordinator.access$100(MigrationCoordinator.java:98)
        at 
org.apache.cassandra.schema.MigrationCoordinator$Callback.fail(MigrationCoordinator.java:614)
        at 
org.apache.cassandra.schema.MigrationCoordinator$Callback.onFailure(MigrationCoordinator.java:609)
        at 
org.apache.cassandra.schema.MigrationCoordinator.pullSchema(MigrationCoordinator.java:653)
        at 
org.apache.cassandra.schema.MigrationCoordinator.lambda$scheduleSchemaPull$2(MigrationCoordinator.java:547)
        at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
        at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
        at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
        at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
        at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
        at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:750)
{noformat}

:(

In case it happens, the method returns "debug version" as a version string, 
which is obviously different thant "Unknown" but it also has no dot

> Test failure: 
> org.apache.cassandra.distributed.test.MigrationCoordinatorTest.explicitEndpointIgnore
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18902
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18902
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/java
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 5.0-rc, 5.x
>
>
> Repeated run from `cassandra-4.1` 
> [https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/941/workflows/46fc6cb7-135e-4862-b9d3-6996c0993de8]
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to