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

Joshua McKenzie updated CASSANDRA-8544:
---------------------------------------
    Attachment: 8544_show_npe.txt

Some questions:

bq. It happens sometimes after restarts caused by undeletable files under 
Windows.
How frequently is "sometimes"?
What files are undeletable?
How are you resolving / working around this?  Does it work after another 
attempt to restart?
Do you have steps to reproduce this?

Attaching a patch that should print out some more details on the NPE if you can 
reproduce it consistently.

> Cassandra could not start with NPE in 
> ColumnFamilyStore.removeUnfinishedCompactionLeftovers
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8544
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8544
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Leonid Shalupov
>            Assignee: Joshua McKenzie
>              Labels: windows
>             Fix For: 2.1.3
>
>         Attachments: 8544_show_npe.txt
>
>
> It happens sometimes after restarts caused by undeletable files under Windows.
> {quote}
> Caused by: java.lang.NullPointerException
>     at 
> org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:579)
>     at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:232)
>     at 
> org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:377)
>     at 
> com.jetbrains.cassandra.service.CassandraServiceMain.start(CassandraServiceMain.java:81)
>     ... 6 more
> {quote}



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

Reply via email to