Open RJ opened 11 years ago
edit: I guess I was wrong... while trying to debug this, it appears that the 1.2 codebase has changed quite a bit. It appears that while ivy downloaded the right jar, it compiled it against an old one... must have missed a dependency someplace.
I ported solandra to cassanda 1.2 and when running it I now get a thrift error. Build works fine, must just be a config issue:
INFO 17:06:01,835 Using TFramedTransport with a max frame size of 15728640 bytes. INFO 17:06:01,841 Using synchronous/threadpool thrift server on ember-cassandra : 9160 INFO 17:06:01,842 Listening for thrift clients... INFO 17:06:02,843 Sleeping 1237ms to stagger solandra schema creation
java.lang.reflect.InvocationTargetException 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.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243) Caused by: java.lang.AssertionError at org.apache.cassandra.thrift.ThriftSessionManager.currentSession(ThriftSessionManager.java:51) at org.apache.cassandra.thrift.CassandraServer.state(CassandraServer.java:88) at org.apache.cassandra.thrift.CassandraServer.system_add_keyspace(CassandraServer.java:1344) at lucandra.CassandraUtils.createCassandraSchema(CassandraUtils.java:405) at lucandra.CassandraUtils.startupServer(CassandraUtils.java:285) at solandra.SolandraDaemon.startRPCServer(SolandraDaemon.java:77) at solandra.SolandraDaemon.start(SolandraDaemon.java:55) ... 5 more Cannot start daemon Service exit with a return value of 5
Can you share what you have done... I will try to look into it myself.
I changed the cassandra version from 1.1.0-beta2 --> 1.2.0 in ivy.xml and pom.xml I would love to try solandra, but need features from cassandra 1.2. Anyone have it compiling against 1.2?