apache/cassandra · error · RuntimeException
Error occurred during disabling auto-compaction
Error message
Error occurred during disabling auto-compaction
What it means
RuntimeException wrapper from DisableAutoCompaction.execute when probe.disableAutoCompaction throws IOException for a keyspace/table. The JMX call to disable autocompaction failed; per-keyspace iteration means some keyspaces may already have succeeded.
Solutions
- Verify the keyspace/table names exist
- Check JMX connectivity and retry
- Re-run for the keyspaces that did not complete
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at src/java/org/apache/cassandra/tools/nodetool/DisableAutoCompaction.java:61 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/cassandra@88fd0f6a0e (2026-09-10).
Data as JSON: /api/errors/83b7e1884e44dfc2.
Report an issue: GitHub.
Appendix: source
Thrown at src/java/org/apache/cassandra/tools/nodetool/DisableAutoCompaction.java:61
@Parameters(index = "1..*", description = "The table names", arity = "0..*")
private String[] tables;
@Override
public void execute(NodeProbe probe)
{
args = concatArgs(keyspace, tables);
List<String> keyspaces = parseOptionalKeyspace(args, probe);
String[] tablenames = parseOptionalTables(args);
for (String keyspace : keyspaces)
{
try
{
probe.disableAutoCompaction(keyspace, tablenames);
} catch (IOException e)
{
throw new RuntimeException("Error occurred during disabling auto-compaction", e);
}
}
}
}
View on GitHub (pinned to 88fd0f6a0e)