cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Hattrell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6499) Shuffle fails if PasswordAuthenticator is enabled
Date Tue, 17 Dec 2013 17:27:08 GMT
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)

Mime
View raw message