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

Cannot parse generation after restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.8 beta 1
    • None
    • None
    • Normal

    Description

      Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.

      java.lang.UnsupportedOperationException
              at java.nio.ByteBuffer.array(ByteBuffer.java:940)
              at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
              at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
              at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
              at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
              at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
              at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
              at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133)

      Attachments

        Issue Links

          Activity

            People

              xedin Pavel Yaskevich
              stuhood Stu Hood
              Pavel Yaskevich
              Jonathan Ellis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h