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

Jonathan Ellis updated CASSANDRA-5512:
--------------------------------------

    Component/s:     (was: Core)
                 Tools
    Description: 
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)

  was:
Running JMX operation forceTablePrimaryRange 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)

       Priority: Minor  (was: Critical)

Unclear to me how you can generate a null snapshot message.  Can you test with 
1.2 git branch?  May be fixed by CASSANDRA-5424.

In the meantime you can also pass isSequential=false to avoid creating 
snapshots.
                
> 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
>
> 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

Reply via email to