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

Supercolumn serialization assertion failure

    XMLWordPrintableJSON

    Details

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

      Description

      As reported at http://mail-archives.apache.org/mod_mbox/cassandra-user/201202.mbox/%3CCADJL=w5kH5TEQXOwhTn5Jm3cmR4Rj=NfjcqLryXV7pLyASi95A@mail.gmail.com%3E,

      ERROR 10:51:44,282 Fatal exception in thread
      Thread[COMMIT-LOG-WRITER,5,main]
      java.lang.AssertionError: Final buffer length 4690 to accomodate data size
      of 2347 (predicted 2344) for RowMutation(keyspace='Player',
      key='36336138643338652d366162302d343334392d383466302d356166643863353133356465',
      modifications=[ColumnFamily(PlayerCity [SuperColumn(owneditem_1019
      []),SuperColumn(owneditem_1024 []),SuperColumn(owneditem_1026
      []),SuperColumn(owneditem_1074 []),SuperColumn(owneditem_1077
      []),SuperColumn(owneditem_1084 []),SuperColumn(owneditem_1094
      []),SuperColumn(owneditem_1130 []),SuperColumn(owneditem_1136
      []),SuperColumn(owneditem_1141 []),SuperColumn(owneditem_1142
      []),SuperColumn(owneditem_1145 []),SuperColumn(owneditem_1218
      [636f6e6e6563746564:false:5@1329648704269002
      ,63757272656e744865616c7468:false:3@1329648704269006
      ,656e64436f6e737472756374696f6e54696d65:false:13@1329648704269007
      ,6964:false:4@1329648704269000,6974656d4964:false:15@1329648704269001
      ,6c61737444657374726f79656454696d65:false:1@1329648704269008
      ,6c61737454696d65436f6c6c6563746564:false:13@1329648704269005
      ,736b696e4964:false:7@1329648704269009,78:false:4@1329648704269003
      ,79:false:3@1329648704269004,]),SuperColumn(owneditem_133
      []),SuperColumn(owneditem_134 []),SuperColumn(owneditem_135
      []),SuperColumn(owneditem_141 []),SuperColumn(owneditem_147
      []),SuperColumn(owneditem_154 []),SuperColumn(owneditem_159
      []),SuperColumn(owneditem_171 []),SuperColumn(owneditem_253
      []),SuperColumn(owneditem_422 []),SuperColumn(owneditem_438
      []),SuperColumn(owneditem_515 []),SuperColumn(owneditem_521
      []),SuperColumn(owneditem_523 []),SuperColumn(owneditem_525
      []),SuperColumn(owneditem_562 []),SuperColumn(owneditem_61
      []),SuperColumn(owneditem_634 []),SuperColumn(owneditem_636
      []),SuperColumn(owneditem_71 []),SuperColumn(owneditem_712
      []),SuperColumn(owneditem_720 []),SuperColumn(owneditem_728
      []),SuperColumn(owneditem_787 []),SuperColumn(owneditem_797
      []),SuperColumn(owneditem_798 []),SuperColumn(owneditem_838
      []),SuperColumn(owneditem_842 []),SuperColumn(owneditem_847
      []),SuperColumn(owneditem_849 []),SuperColumn(owneditem_851
      []),SuperColumn(owneditem_852 []),SuperColumn(owneditem_853
      []),SuperColumn(owneditem_854 []),SuperColumn(owneditem_857
      []),SuperColumn(owneditem_858 []),SuperColumn(owneditem_874
      []),SuperColumn(owneditem_884 []),SuperColumn(owneditem_886
      []),SuperColumn(owneditem_908 []),SuperColumn(owneditem_91
      []),SuperColumn(owneditem_911 []),SuperColumn(owneditem_930
      []),SuperColumn(owneditem_934 []),SuperColumn(owneditem_937
      []),SuperColumn(owneditem_944 []),SuperColumn(owneditem_945
      []),SuperColumn(owneditem_962 []),SuperColumn(owneditem_963
      []),SuperColumn(owneditem_964 []),])])
              at org.apache.cassandra.utils.FBUtilities.serialize(FBUtilities.java:682)
              at org.apache.cassandra.db.RowMutation.getSerializedBuffer(RowMutation.java:279)
              at org.apache.cassandra.db.commitlog.CommitLogSegment.write(CommitLogSegment.java:122)
              at org.apache.cassandra.db.commitlog.CommitLog$LogRecordAdder.run(CommitLog.java:599)
              at org.apache.cassandra.db.commitlog.PeriodicCommitLogExecutorService$1.runMayThrow(PeriodicCommitLogExecutorService.java:49)
              at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
              at java.lang.Thread.run(Thread.java:662)
      

        Attachments

        1. 3957.txt
          2 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Sylvain Lebresne
              Reviewers:
              Jonathan Ellis
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: