Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

shubham.gupta_182020 avatar image
shubham.gupta_182020 asked ·

Error during indexing keyspace in dse solr after upgrading to dse 6.7.5 from dse 5.0.7

Installed latest dse i.e 6.7.5 (seed) and (solr) server and successfully restored keyspaces but during indexing errors were encountered

Error indexing partition '5280' on 'apac_01092019.lead':

com.datastax.bdp.search.SearchReadBeforeWriteException: Unable to complete Search read-before-write.

... 11 common frames omitted

Suppressed: org.apache.cassandra.utils.flow.Flow$FlowException: Flow call chain:

IteratorSubscription

.

.

.

Caused by: java.io.IOException: Error building row with data deserialized from RandomAccessReader:CachingRebufferer:CompressedChunkReader.Standard(/var/lib/cassandra/data/apac_01092019/lead-a7239f51e37111e9990fbf7bbd277eed/mc-205-big-Data.db - LZ4Compressor, chunk length 65536, data length 246711737)

at org.apache.cassandra.db.rows.UnfilteredSerializer.deserializeRowBody(UnfilteredSerializer.java

.

.

.

Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /var/lib/cassandra/data/apac_01092019/lead-a7239f51e37111e9990fbf7bbd277eed/mc-205-big-Data.db

... 11 common frames omitted

Suppressed: org.apache.cassandra.utils.flow.Flo

Though I tried nodetool upgradesstables command but it didn't worked.

nodetool upgradesstables apac_01092019 lead

error: EOF after 245554130 bytes out of 1818583396

--StackTrace –

java.io.EOFException: EOF after 245554130 bytes out of 1818583396 at org.apache.cassandra.io.util.RebufferingInputStream.readFully(RebufferingInputStream.java:70) at org.apache.cassandra.io.util.RebufferingInputStream.readFully(RebufferingInputStream.java:62) at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:472)

dse searchcassandara indexcassandra installation
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@shubham.gupta_182020 this appears to be a similar issue to the other question and you posted -- you have corrupt SSTables which are unreadable. The workaround is the same -- move out the offending SSTable and try again. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.