Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14882

Exception in Cassandra during Compaction

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Local/Compaction
    • Labels:
      None
    • Environment:

      Cassandra single node 3.11.2 running on Linux  CentOS

    • Severity:
      Normal

      Description

      Exception coming in Debug logs every minute. The other information is that the particular table entries were deleted (not sure if by program error or human error) in  a testbed.

      ---------------------------------------

      DEBUG [CompactionExecutor:750] 2018-10-26 21:59:00,512 CompactionTask.java:155 - Compacting (583f8a00-d96a-11e8-9c62-3944322fd453) [/var/lib/cassandra/data/xx/xxt_uuid-35106240c6d511e897e559c5a71f3c3c/mc-4-big-Data.db:level=0, ]
      ERROR [CompactionExecutor:750] 2018-10-26 21:59:00,514 CassandraDaemon.java:228 - Exception in thread Thread[CompactionExecutor:750,1,main]
      java.lang.NullPointerException: null
      at org.apache.cassandra.config.CFMetaData.enforceStrictLiveness(CFMetaData.java:1266) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionIterator$Purger.<init>(CompactionIterator.java:280) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionIterator$Purger.<init>(CompactionIterator.java:264) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionIterator.<init>(CompactionIterator.java:108) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionIterator.<init>(CompactionIterator.java:80) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:85) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:61) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:275) ~[apache-cassandra-3.11.2.jar:3.11.2]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_161]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_161]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_161]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161]
      at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81) [apache-cassandra-3.11.2.jar:3.11.2]
      at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_161]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexcpn Alex C Punnen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: