4 Replies Latest reply on Nov 4, 2013 3:05 PM by Ramesh Reddy

    Can't make to connect to Cassandra 2.0.2 using Teiid 8.6 alpha

    Ivan Chan Apprentice

      I am trying to connect to cassandra 2.0.2 using Teiid 8.6.  However, I got the following exception.

       

      Exception in thread "main" java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException: Unable to find abstract-type class 'org.apache.cassandra.db.marshal.TimestampType'

       

       

      Then I updated my cassandra-all-1.2.3.jar and cassandra-driver-core-1.0.0.jar to cassandra-all-2.0.2.jar and cassandra-driver-core-2.0.0-beta2.jar.  And also adding metric-core-3.0.1.jar and lz4-1.2.0.jar, but I still couldn't get it to work.  And I got the following exception:

       

      Caused by: java.lang.NoSuchMethodError: com.datastax.driver.core.Cluster.shutdown()V

              at org.teiid.resource.adapter.cassandra.CassandraConnectionImpl.close(CassandraConnectionImpl.java:61)

              at org.teiid.translator.ExecutionFactory.closeConnection(ExecutionFactory.java:209)

              at org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:63)

              at org.teiid.query.metadata.ChainingMetadataRepository.loadMetadata(ChainingMetadataRepository.java:55)

              at org.teiid.runtime.EmbeddedServer.loadMetadata(EmbeddedServer.java:644)

              at org.teiid.runtime.AbstractVDBDeployer.loadMetadata(AbstractVDBDeployer.java:161)

              at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:605)

              at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:536)

       

      Do you guys support Cassandra 2.0.2?   Which version of Cassandra are u guys testing on?  Thanks a lot.