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
Above behaviour is introduced in the 915858 commit / thrunk on
CliMain.java. (TException is thrown from some of the gen-source in
o.a.c.t.Cassandra.
Question is; what would correct behaviour be? Could one imagine that
someone, except developers, will run a system without audit at all?
./Morten