2 Replies Latest reply on Mar 9, 2011 4:58 PM by darena1009

    Cassandra CacheLoader Problem

    darena1009

      I am having some problems trying to get the Cassandra Cache Loader for Infinispan up and running. This is the error I get:

       

      Caused by: java.lang.NoSuchMethodError: org.apache.cassandra.thrift.SliceRange.<init>([B[BZI)V

      at org.infinispan.loaders.cassandra.CassandraCacheStore.purgeInternal(CassandraCacheStore.java:425)

      at org.infinispan.loaders.cassandra.CassandraCacheStore.start(CassandraCacheStore.java:112)

      at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:101)

      ... 19 more

       

      Mind you that I am new at Cassandra and Infinispan. My application is being developed in Scala. I have attached my one and only test file. Has anybody seen this before? Any help is appreciated.

       

      Thanks

        • 1. Cassandra CacheLoader Problem
          nadirx

          Hi, are you using Cassandra 0.7 ? Infinispan currently only supports Cassandra 0.6.

          Because of binary changes in the Thrift API, it is non-trivial to support both APIs. I am working to get Cassandra 0.7 support in Infinispan 5.0

          • 2. Cassandra CacheLoader Problem
            darena1009

            Thanks. After much pain, I discovered that a Cassandra downgrade would do the the trick. My problem is that I have other applications that us 0.7 so I look forward to the Infinispan 5.0 version.