cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-11962) Non-fatal NPE during concurrent repair check
Date Thu, 23 Jun 2016 12:36:16 GMT

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

Paulo Motta resolved CASSANDRA-11962.
-------------------------------------
    Resolution: Duplicate
      Assignee:     (was: Paulo Motta)

> Non-fatal NPE during concurrent repair check
> --------------------------------------------
>
>                 Key: CASSANDRA-11962
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11962
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Priority: Minor
>
> "Usual" checks for multiple repairs result in this exception in the log file:
> {code}
> ERROR [ValidationExecutor:6] 2016-06-06 07:56:23,530 CassandraDaemon.java:222 - Exception
in thread Thread[ValidationExecutor:6,1,main]
> java.lang.RuntimeException: Cannot start multiple repair sessions over the same sstables
>         at org.apache.cassandra.db.compaction.CompactionManager.getSSTablesToValidate(CompactionManager.java:1325)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager.doValidationCompaction(CompactionManager.java:1215)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager.access$700(CompactionManager.java:81)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager$11.call(CompactionManager.java:844)
~[main/:na]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_91]
> {code}
> However, I saw this one:
> {code}
> ERROR [ValidationExecutor:6] 2016-06-06 07:56:25,002 CassandraDaemon.java:222 - Exception
in thread Thread[ValidationExecutor:6,1,main]
> java.lang.NullPointerException: null
>         at org.apache.cassandra.service.ActiveRepairService$ParentRepairSession.getActiveSSTables(ActiveRepairService.java:495)
~[main/:na]
>         at org.apache.cassandra.service.ActiveRepairService$ParentRepairSession.access$300(ActiveRepairService.java:451)
~[main/:na]
>         at org.apache.cassandra.service.ActiveRepairService.currentlyRepairing(ActiveRepairService.java:338)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager.getSSTablesToValidate(CompactionManager.java:1320)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager.doValidationCompaction(CompactionManager.java:1215)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager.access$700(CompactionManager.java:81)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionManager$11.call(CompactionManager.java:844)
~[main/:na]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_91]
> {code}
> Looks like there is no entry for {{cfId}} in {{getActiveSStables}} at {{for (SSTableReader
sstable : columnFamilyStores.get(cfId).getSSTables())}}.
> (against trunk)



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

Mime
View raw message