cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-859) update cassandra-cli for mandatory login()
Date Thu, 22 Apr 2010 00:41:50 GMT


Eric Evans commented on CASSANDRA-859:

# Completion is still operating on keyspace, instead of column family (try set <tab>
to see what I'm talking about).
# The --keyspace, --username, and --password command options should set the keyspace and authenticate
where needed.
# By using "Identifier" for password parsing,  passwords are limited to alpha numeric + "-",
and they must start with a letter ([A-Za-z]). This seems arbitrarily restrictive.
# I believe that wherever CliClient.getCFMetaData() has been replaced with a direct reference
to keyspacesMap, the possibility now exists for an operation to fail if a new keyspace has
been added since the cli was started.

> update cassandra-cli for mandatory login()
> ------------------------------------------
>                 Key: CASSANDRA-859
>                 URL:
>             Project: Cassandra
>          Issue Type: Task
>          Components: Tools
>            Reporter: Eric Evans
>            Assignee: Todd Blose
>            Priority: Minor
>             Fix For: 0.7
>         Attachments: 0001-CASSANDRA-859.-update-cassandra-cli-for-mandatory-lo.patch,
CASSANDRA-859.patch, example_session.txt
> With the completion of CASSANDRA-714, the cli will need to be updated accordingly.
> * Either the --keyspace command argument (or something equivalent entered interactively
after startup), will need to be made required.
> * The record specifier should be changed from `keyspace.column_family['row']' to `column_family['row']'.
> * The keyspace name should be displayed in the prompt, instead of the fixed string "cassandra"
as a reminder of the current working keyspace.
> Additionally, a get_string_property("cluster name") was recently added to force connection
errors to occur early (the name is also displayed in the banner). Since this changeset will
make a login() call mandatory, the get_string_property() call will be unneeded and can be

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message