Hi, 

 

I am starting to setup Usergrid on Cassandra, but I run into an issue that I
debugged into and which does not seem to be related to Usergrid or my setup,
since I run into an AssertionError (which should  never happen according to
the comment in the Cassandra Code, and which I don’t see how to avoid from
the client side).

When I do a Login from Usergrid via thrift, I get the following stacktrace:
(Cassandra Version is 2.08, I used the standard username/password
cassandra/cassandra to exclude errors here)

 

ERROR [Thrift:16] 2015-07-25 15:02:32,480 CassandraDaemon.java (line 199)
Exception in thread Thread[Thrift:16,5,

main]

java.lang.AssertionError:
org.apache.cassandra.exceptions.InvalidRequestException: Key may not be
empty

at
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthent
icator.java:117)

at
org.apache.cassandra.thrift.CassandraServer.login(CassandraServer.java:1471)

at
org.apache.cassandra.thrift.Cassandra$Processor$login.getResult(Cassandra.ja
va:3505)

at
org.apache.cassandra.thrift.Cassandra$Processor$login.getResult(Cassandra.ja
va:3489)

at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)

at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)

at
org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(Custom
TThreadPoolServer.java:201

)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
45)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
15)

at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.cassandra.exceptions.InvalidRequestException: Key may
not be empty

at
org.apache.cassandra.cql3.QueryProcessor.validateKey(QueryProcessor.java:120
)

at
org.apache.cassandra.cql3.statements.SelectStatement.getSliceCommands(Select
Statement.java:344)

at
org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement
.java:206)

at
org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthent
icator.java:110)

 

Any ideas what might be wrong or which prerequisites need to be met? This is
the first request for a connection.

 

Help would be greatly appreciated, I tried everything I could come up with
supported by Google…

 

Thanks in advance,

Andreas

Reply via email to