cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10047) nodetool aborts when attempting to cleanup a keyspace with no ranges
Date Fri, 28 Aug 2015 18:13:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philip Thompson updated CASSANDRA-10047:
----------------------------------------
    Reproduced In: 2.1.8
    Fix Version/s: 2.1.x

> nodetool aborts when attempting to cleanup a keyspace with no ranges
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-10047
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10047
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: 2.1.8
>            Reporter: Russell Bradberry
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> When running nodetool cleanup in a DC that has no ranges for a keyspace, nodetool will
abort with the following message when attempting to cleanup that keyspace:
> {code}
> Aborted cleaning up atleast one column family in keyspace ks, check server logs for more
information.
> error: nodetool failed, check server logs
> -- StackTrace --
> java.lang.RuntimeException: nodetool failed, check server logs
> 	at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:290)
> 	at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:202)
> {code}
> The error messages in the logs are :
> {code}
> CompactionManager.java:370 - Cleanup cannot run before a node has joined the ring
> {code}
> This behavior prevents subsequent keyspaces from getting cleaned up. The error message
is also misleading as it suggests that the only reason  a node may not have ranges for a keyspace
is because it has yet to join the ring.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message