Eric Evans wrote:
On Wed, 2010-03-10 at 19:24 +0530, shirish wrote:
and next i ran* cassandra-cli --host 127.0.0.1 --port 9160* I get the
following
Login failure. Did you specify 'keyspace', 'username' and 'password'?
Welcome to cassandra CLI.
Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
What could have gone wrong ?
After the latest patch in the auth I saw the same. I needed to supply
the --keyspace, --username and --password. (funny thing is that with the
"allow all" authentication its still mandatory.
# cassandra-cli --host localhost --port 9160 --keyspace Keyspace1
--username mickey --password mouse
Starting Cassandra Client
Connected to: "Morten's MEGA Cluster" on localhost/9160
Welcome to cassandra CLI.
Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
cassandra>
Works fine (user mickey is not defined anywhere).
Question is, is this a bug or a feature?
If bug, I can go for the patch, if feature the wiki should be updated.
./Morten