I don't know Usergrid at all, but the error can be reproduced with cqlsh by
supplying an empty string for the username, e.g bin/cqlsh -u "" -p
cassandra
So I guess something in Usergrid is not setting it correctly.

On Sat, Jul 25, 2015 at 5:22 PM, Andreas Schlüter <
dr.andreas.schlue...@gmx.de> wrote:

> 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(PasswordAuthenticator.java:117)
>
> at
> org.apache.cassandra.thrift.CassandraServer.login(CassandraServer.java:1471)
>
> at
> org.apache.cassandra.thrift.Cassandra$Processor$login.getResult(Cassandra.java:3505)
>
> at
> org.apache.cassandra.thrift.Cassandra$Processor$login.getResult(Cassandra.java: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(CustomTThreadPoolServer.java:201
>
> )
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> 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(SelectStatement.java:344)
>
> at
> org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:206)
>
> at
> org.apache.cassandra.auth.PasswordAuthenticator.authenticate(PasswordAuthenticator.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