You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Hattrell (JIRA)" <ji...@apache.org> on 2013/12/17 18:27:08 UTC

[jira] [Created] (CASSANDRA-6499) Shuffle fails if PasswordAuthenticator is enabled

Adam Hattrell created CASSANDRA-6499:
----------------------------------------

             Summary: Shuffle fails if PasswordAuthenticator is enabled
                 Key: CASSANDRA-6499
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6499
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Adam Hattrell
            Priority: Minor


If you attempt to run shuffle whilst authenticator: org.apache.cassandra.auth.PasswordAuthenticator is set in the cassandra.yaml you get the following error:

Exception in thread "main" java.lang.RuntimeException: InvalidRequestException(why:You have not logged in)
        at org.apache.cassandra.tools.Shuffle.executeCqlQuery(Shuffle.java:516)
        at org.apache.cassandra.tools.Shuffle.shuffle(Shuffle.java:359)
        at org.apache.cassandra.tools.Shuffle.main(Shuffle.java:681)
Caused by: InvalidRequestException(why:You have not logged in)
        at org.apache.cassandra.thrift.Cassandra$execute_cql3_query_result.read(Cassandra.java:37849)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
        at org.apache.cassandra.thrift.Cassandra$Client.recv_execute_cql3_query(Cassandra.java:1562)
        at org.apache.cassandra.thrift.Cassandra$Client.execute_cql3_query(Cassandra.java:1547)
        at org.apache.cassandra.tools.CassandraClient.execute_cql_query(Shuffle.java:736)
        at org.apache.cassandra.tools.Shuffle.executeCqlQuery(Shuffle.java:502)
        ... 2 more

I've logged this as Minor as I wouldn't really recommend using shuffle in production.  




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)