java.util.concurrent.TimeoutException: We have timed out waiting on the current schema mutation lock holder. We have tried to grab the lock for 255275 milliseconds unsuccessfully. This indicates that the current lock holder has died without releasing the lock and will require manual intervention. Shut down all AtlasDB clients and then run the clean-cass-locks-state cli command.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by tpetracca
, 1 year ago
We have timed out waiting on the current schema mutation lock holder. We have tried to grab the lock for 255275 milliseconds unsuccessfully. This indicates that the current lock holder has died without releasing the lock and will require manual intervention. Shut down all AtlasDB clients and then run the clean-cass-locks-state cli command.
java.util.concurrent.TimeoutException: We have timed out waiting on the current schema mutation lock holder. We have tried to grab the lock for 255275 milliseconds unsuccessfully. This indicates that the current lock holder has died without releasing the lock and will require manual intervention. Shut down all AtlasDB clients and then run the clean-cass-locks-state cli command.
at com.palantir.atlasdb.keyvalue.cassandra.SchemaMutationLock.generateSchemaLockTimeoutException(SchemaMutationLock.java:182)
at com.palantir.atlasdb.keyvalue.cassandra.SchemaMutationLock.lambda$waitForSchemaMutationLock$34(SchemaMutationLock.java:157)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraClientPoolingContainer.runWithGoodResource(CassandraClientPoolingContainer.java:117)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraClientPoolingContainer.runWithPooledResource(CassandraClientPoolingContainer.java:94)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraClientPool.runWithRetryOnHost(CassandraClientPool.java:467)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraClientPool.runWithRetry(CassandraClientPool.java:450)
at com.palantir.atlasdb.keyvalue.cassandra.SchemaMutationLock.waitForSchemaMutationLock(SchemaMutationLock.java:122)
at com.palantir.atlasdb.keyvalue.cassandra.SchemaMutationLock.runWithLock(SchemaMutationLock.java:72)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueService.createTables(CassandraKeyValueService.java:1427)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueService.createTable(CassandraKeyValueService.java:1415)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueService.init(CassandraKeyValueService.java:225)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueService.create(CassandraKeyValueService.java:177)
at com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueService.create(CassandraKeyValueService.java:163)
at com.palantir.atlasdb.cli.command.CleanCassLocksStateCommand.call(CleanCassLocksStateCommand.java:36)
at com.palantir.atlasdb.cli.command.CleanCassLocksStateCommand.call(CleanCassLocksStateCommand.java:27)
at com.palantir.atlasdb.dropwizard.commands.AtlasDbCliCommand.run(AtlasDbCliCommand.java:150)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:77)
at com.palantir.atlasdb.dropwizard.AtlasDbConfiguredCommand.run(AtlasDbConfiguredCommand.java:66)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:77)
at io.dropwizard.cli.Cli.run(Cli.java:70)
at io.dropwizard.Application.run(Application.java:80)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.