java.lang.RuntimeException: Cannot create CompressionParameters for parameters

datastax.com | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cassandra sstableloader fails with "Cannot create CompressionParameters for parameters" – DataStax Support

    datastax.com | 2 months ago
    java.lang.RuntimeException: Cannot create CompressionParameters for parameters
  2. 0

    [Cassandra-commits] [jira] [Comment Edited] (CASSANDRA-4958) Snappy 1.0.4 doesn't work on OSX / Java 7 - Grokbase

    grokbase.com | 7 months ago
    java.lang.RuntimeException: Cannot create CompressionParameters for stored parameters

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.xerial.snappy.Snappy

      at org.apache.cassandra.io.compress.SnappyCompressor.create()
    2. org.apache.cassandra
      SnappyCompressor.create
      1. org.apache.cassandra.io.compress.SnappyCompressor.create(SnappyCompressor.java:45)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.apache.cassandra
      IncomingTcpConnection.run
      1. org.apache.cassandra.io.compress.CompressionParameters.createCompressor(CompressionParameters.java:156)
      2. org.apache.cassandra.io.compress.CompressionParameters.<init>(CompressionParameters.java:71)
      3. org.apache.cassandra.io.compress.CompressionParameters$Serializer.deserialize(CompressionParameters.java:329)
      4. org.apache.cassandra.io.compress.CompressionParameters$Serializer.deserialize(CompressionParameters.java:300)
      5. org.apache.cassandra.streaming.compress.CompressionInfo$CompressionInfoSerializer.deserialize(CompressionInfo.java:76)
      6. org.apache.cassandra.streaming.compress.CompressionInfo$CompressionInfoSerializer.deserialize(CompressionInfo.java:46)
      7. org.apache.cassandra.streaming.PendingFile$PendingFileSerializer.deserialize(PendingFile.java:163)
      8. org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.deserialize(StreamHeader.java:74)
      9. org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.deserialize(StreamHeader.java:58)
      10. org.apache.cassandra.net.IncomingTcpConnection.handleStream(IncomingTcpConnection.java:183)
      11. org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:79)
      11 frames