Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.1.8
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Oracle Java 1.6u37

      Description

      I've found this in logfile, this happens at cassandra startup:

      INFO 10:06:13,670 Opening /var/lib/cassandra/data/MYKSPC/MYCF/MYKSPC-MYCF-hf-5547 (1073761823 bytes)
      ERROR 10:06:13,670 Exception in thread Thread[SSTableBatchOpen:3,5,main]
      java.lang.AssertionError
      at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:166)
      at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:153)
      at org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:242)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Every CF in this Keyspace has cashing set to 'NONE'

      1. 4984.patch
        1.0 kB
        Carl Yeksigian

        Activity

        Hide
        Zenek Kraweznik added a comment -

        It happens after offline scrub too.

        Show
        Zenek Kraweznik added a comment - It happens after offline scrub too.
        Hide
        Carl Yeksigian added a comment -

        The assertion is being raised because the primary index of the file is missing. Attaching trivial patch to make the assertion error more descriptive.

        Show
        Carl Yeksigian added a comment - The assertion is being raised because the primary index of the file is missing. Attaching trivial patch to make the assertion error more descriptive.
        Hide
        Jonathan Ellis added a comment -

        committed, thanks!

        Show
        Jonathan Ellis added a comment - committed, thanks!

          People

          • Assignee:
            Carl Yeksigian
            Reporter:
            Zenek Kraweznik
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development