[ 
https://issues.apache.org/jira/browse/CASSANDRA-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221067#comment-13221067
 ] 

Jonathan Ellis commented on CASSANDRA-3988:
-------------------------------------------

don't we use length == 0 CFs in forceTableRepair to mean "load a list of all of 
them?"  iow i think the check needs to be on the result of 
getValidColumnFamilies.
                
> NullPointerException in org.apache.cassandra.service.AntiEntropyService when 
> repair finds a keyspace with no CFs
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3988
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3988
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.7
>            Reporter: Bill Hathaway
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.0.9
>
>         Attachments: 3988.txt
>
>
> 2012-03-01 21:38:09,039 [RMI TCP Connection(142)-10.253.106.21] INFO  
> StorageService - Starting repair command #15, repairing 3 ranges.
> 2012-03-01 21:38:09,039 [AntiEntropySessions:14] INFO  AntiEntropyService - 
> [repair #d68369f0-63e6-11e1-0000-8add8b9398fd] new session: will sync 
> /10.253.106.21, /10.253.106.248, /10.253.106.247 on range 
> (85070591730234615865843651857942052864,106338239662793269832304564822427566080]
>  for PersonalizationDataService2.[]
> 2012-03-01 21:38:09,039 [AntiEntropySessions:14] ERROR 
> AbstractCassandraDaemon - Fatal exception in thread 
> Thread[AntiEntropySessions:14,5,RMI Runtime]
> java.lang.NullPointerException
>         at 
> org.apache.cassandra.service.AntiEntropyService$RepairSession.runMayThrow(AntiEntropyService.java:691)
>         at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to