cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5512) forceTablePrimaryRange fails with nullpointer exception
Date Wed, 24 Apr 2013 21:41:15 GMT

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

Yuki Morishita updated CASSANDRA-5512:
--------------------------------------

    Attachment: 5512-1.2.txt

forceTablePrimaryRange's second boolean parameter is for sequential repair using snapshot(you
can do this with nodetool repair -snapshot too), and when it's on, looks like it fails as
described.

We somehow omitted registering Snapshot message's serializer in 1.2 branch. Trivial patch
attached.
                
> forceTablePrimaryRange fails with nullpointer exception
> -------------------------------------------------------
>
>                 Key: CASSANDRA-5512
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5512
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.2.3
>         Environment: Linux red hat, java 1.6.43
> three nodes
>            Reporter: Tobias Grahn
>            Priority: Minor
>         Attachments: 5512-1.2.txt
>
>
> Running JMX operation forceTableRepairRange fails with nullpointer exception.
> Three node cluster with one keyspace and one large columnfamily.
> Works when running nodetool -pr but not over JMX.
> Stacktrace:
> ERROR [MiscStage:1] 2013-04-24 09:53:02,884 CassandraDaemon.java (line 164) Exception
in thread Thread[MiscStage:1,5,main]
> java.lang.NullPointerException
>         at org.apache.cassandra.service.SnapshotVerbHandler.doVerb(SnapshotVerbHandler.java:38)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>         at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message