java.lang.RuntimeException: Cannot create CompressionParameters for parameters

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via datastax.com by Unknown author, 1 year ago
java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
at org.apache.cassandra.io.compress.SnappyCompressor.create(SnappyCompressor.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.cassandra.io.compress.CompressionParameters.createCompressor(CompressionParameters.java:156)
at org.apache.cassandra.io.compress.CompressionParameters.(CompressionParameters.java:71)
at org.apache.cassandra.io.compress.CompressionParameters$Serializer.deserialize(CompressionParameters.java:329)
at org.apache.cassandra.io.compress.CompressionParameters$Serializer.deserialize(CompressionParameters.java:300)
at org.apache.cassandra.streaming.compress.CompressionInfo$CompressionInfoSerializer.deserialize(CompressionInfo.java:76)
at org.apache.cassandra.streaming.compress.CompressionInfo$CompressionInfoSerializer.deserialize(CompressionInfo.java:46)
at org.apache.cassandra.streaming.PendingFile$PendingFileSerializer.deserialize(PendingFile.java:163)
at org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.deserialize(StreamHeader.java:74)
at org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.deserialize(StreamHeader.java:58)
at org.apache.cassandra.net.IncomingTcpConnection.handleStream(IncomingTcpConnection.java:183)
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:79)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.