cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10497) NPE on removeUnfinishedCompactionLeftovers after sstablesplit
Date Fri, 09 Oct 2015 17:26:05 GMT

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

Philip Thompson updated CASSANDRA-10497:
----------------------------------------
         Assignee: Marcus Eriksson
    Fix Version/s: 2.1.x

> NPE on removeUnfinishedCompactionLeftovers after sstablesplit
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-10497
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10497
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tools
>         Environment: Ubuntu 14.04
>            Reporter: Robbie Strickland
>            Assignee: Marcus Eriksson
>             Fix For: 2.1.x
>
>         Attachments: npe_system.log
>
>
> After stopping the node and running {{sstablesplit}} on a single table, restarting Cassandra
results in an NPE:
> {noformat}
> INFO  [SSTableBatchOpen:2] 2015-10-09 13:15:38,745 SSTableReader.java:471 - Opening /var/lib/cassandra/xvdd/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-514
(175 bytes)
> INFO  [main] 2015-10-09 13:15:38,747 AutoSavingCache.java:146 - reading saved cache /var/lib/cassandra/xvdb/cache/system-schema_keyspaces-b0f2235744583cdb9631c43e59ce3676-KeyCache-b.db
> ERROR [main] 2015-10-09 13:15:39,114 CassandraDaemon.java:541 - Exception encountered
during startup
> org.apache.cassandra.io.FSReadError: java.lang.NullPointerException
>         at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:641)
~[apache-cassandra-2.1.7-SNAPSHOT.jar:2.1.7-SNAPSHOT]
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:302)
[apache-cassandra-2.1.7-SNAPSHOT.jar:2.1.7-SNAPSHOT]
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:524)
[apache-cassandra-2.1.7-SNAPSHOT.jar:2.1.7-SNAPSHOT]
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:613)
[apache-cassandra-2.1.7-SNAPSHOT.jar:2.1.7-SNAPSHOT]
> Caused by: java.lang.NullPointerException: null
>         at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:633)
~[apache-cassandra-2.1.7-SNAPSHOT.jar:2.1.7-SNAPSHOT]
>         ... 3 common frames omitted
> {noformat}
> The node would only come back up after deleting all the files in compactions_in_progress.



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

Mime
View raw message