org.apache.cassandra.io.sstable.CorruptSSTableException

org.apache.cassandra.serializers.MarshalException: String didn 't validate.

Solutions on the web1

  • via Apache's JIRA Issue Tracker by Nikolai Grigoriev, 1 year ago
    org.apache.cassandra.serializers.MarshalException: String didn 't validate.
  • Stack trace

    • org.apache.cassandra.io.sstable.CorruptSSTableException: org.apache.cassandra.serializers.MarshalException: String didn 't validate. at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:152) at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:32) at org.apache.cassandra.utils.MergeIterator$OneToOne.computeNext(MergeIterator.java:203) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:645) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at org.apache.cassandra.db.ColumnIndex$Builder.buildForCompaction(ColumnIndex.java:156) at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:101) at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:169) at org.apache.cassandra.db.compaction.Scrubber.scrub(Scrubber.java:199) at org.apache.cassandra.db.compaction.CompactionManager.scrubOne(CompactionManager.java:443) at org.apache.cassandra.db.compaction.CompactionManager.doScrub(CompactionManager.java:432) at org.apache.cassandra.db.compaction.CompactionManager.access$300(CompactionManager.java:62) at org.apache.cassandra.db.compaction.CompactionManager$3.perform(CompactionManager.java:236) at org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:222) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.apache.cassandra.serializers.MarshalException: String didn't validate. at org.apache.cassandra.serializers.UTF8Serializer.validate(UTF8Serializer.java:35) at org.apache.cassandra.db.marshal.AbstractType.validate(AbstractType.java:172) at org.apache.cassandra.db.Column.validateName(Column.java:295) at org.apache.cassandra.db.Column.validateFields(Column.java:300) at org.apache.cassandra.db.ExpiringColumn.validateFields(ExpiringColumn.java:181) at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:147) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago