You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2014/06/02 06:53:01 UTC

[jira] [Created] (CASSANDRA-7336) RepairTask doesn't send a correct message in a JMX notifcation in case of IllegalArgumentException

Mikhail Stepura created CASSANDRA-7336:
------------------------------------------

             Summary: RepairTask doesn't send a correct message in a JMX notifcation in case of IllegalArgumentException
                 Key: CASSANDRA-7336
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7336
             Project: Cassandra
          Issue Type: Bug
            Reporter: Mikhail Stepura
            Priority: Minor
             Fix For: 2.0.9, 2.1.0


>From CASSANDRA-7317:


The behavior when manually trying to repair the full range of 127.0.0.01 definitely needs improvement though.

Repair command:
{noformat}
[Nicks-MacBook-Pro:21:50:44 cassandra-2.0] cassandra$ bin/nodetool -p 7100 repair -st -10 -et -9223372036854775808 system_traces
[2014-05-28 21:50:55,803] Starting repair command #17, repairing 1 ranges for keyspace system_traces
[2014-05-28 21:50:55,804] Starting repair command #17, repairing 1 ranges for keyspace system_traces
[2014-05-28 21:50:55,804] Repair command #17 finished
[Nicks-MacBook-Pro:21:50:56 cassandra-2.0] cassandra$ echo $?
1
{noformat}

system.log:
{noformat}
ERROR [Thread-96] 2014-05-28 21:40:05,921 StorageService.java (line 2621) Repair session failed:
java.lang.IllegalArgumentException: Requested range intersects a local range but is not fully contained in one; this would lead to imprecise repair
{noformat}

* The actual output of the repair command doesn't really indicate that there was an issue. Although the command does return with a non zero exit status.
* The error here is invisible if you are using the synchronous jmx repair api. It will appear as though the repair completed successfully.



--
This message was sent by Atlassian JIRA
(v6.2#6252)