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

corrupted saved caches

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      I'm seeing this fairly frequently on trunk:

       INFO 05:15:23,805 reading saved cache /var/lib/cassandra/saved_caches/system-schema_columnfamilies-KeyCache-b.db
       WARN 05:15:23,808 error reading saved cache /var/lib/cassandra/saved_caches/system-schema_columnfamilies-KeyCache-b.db
      java.lang.NullPointerException
              at org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:151)
              at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:247)
              at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:362)
              at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:334)
              at org.apache.cassandra.db.Table.initCf(Table.java:333)
              at org.apache.cassandra.db.Table.<init>(Table.java:271)
              at org.apache.cassandra.db.Table.open(Table.java:101)
              at org.apache.cassandra.db.Table.open(Table.java:79)
              at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:285)
              at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:201)
              at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:349)
              at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:392)
       INFO 05:15:23,858 Opening /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ia-5 (171 bytes)
       INFO 05:15:23,870 Opening /var/lib/cassandra/data/system/peers/system-peers-ia-1 (7983 bytes)
       INFO 05:15:23,870 Opening /var/lib/cassandra/data/system/peers/system-peers-ia-2 (7876 bytes)
       INFO 05:15:23,884 Opening /var/lib/cassandra/data/system/local/system-local-ia-35 (4910 bytes)
       INFO 05:15:23,885 Opening /var/lib/cassandra/data/system/local/system-local-ia-33 (75 bytes)
       INFO 05:15:23,885 Opening /var/lib/cassandra/data/system/local/system-local-ia-34 (4676 bytes)
       INFO 05:15:23,912 reading saved cache /var/lib/cassandra/saved_caches/system-local-KeyCache-b.db
       WARN 05:15:23,912 error reading saved cache /var/lib/cassandra/saved_caches/system-local-KeyCache-b.db
      java.lang.NullPointerException
              at org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:151)
              at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:247)
              at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:362)
              at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:334)
              at org.apache.cassandra.db.Table.initCf(Table.java:333)
              at org.apache.cassandra.db.Table.<init>(Table.java:271)
              at org.apache.cassandra.db.Table.open(Table.java:101)
              at org.apache.cassandra.db.Table.open(Table.java:79)
              at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:285)
              at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:201)
              at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:349)
              at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:392)
      

        Attachments

          Activity

            People

            • Assignee:
              vijay2win@yahoo.com Vijay
              Reporter:
              brandon.williams Brandon Williams
              Authors:
              Vijay
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: