cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1565) cassandra-cli use consistant flags and improve error messages
Date Wed, 19 Jan 2011 23:04:44 GMT


Pavel Yaskevich commented on CASSANDRA-1565:

No, this won't break existing scripts and as you said this is just adds short options + prettier

> cassandra-cli use consistant flags and improve error messages
> -------------------------------------------------------------
>                 Key: CASSANDRA-1565
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>         Environment: Centos 5 using
>            Reporter: Ian Rogers
>            Assignee: Christoph Hack
>            Priority: Minor
>             Fix For: 0.7.1
>         Attachments: CASSANDRA-1565-v2.patch, CASSANDRA-1565.patch, trunk-1565.txt
> nodetool uses "-h" to specify the host to connect to but cassandra-cli uses "-host" which
is a pain to remember.
> More importantly, if you do use "-h" then there's no error!  If you do this and then
try to "show keyspaces" or some such you just get an entirely accurate though confusing "not
connected to a cluster" error.
> 1. Make the flags consistant amongst all the tools where appropriate.
> 2. If you supply a flag to a tool it doesn't recognise then the tool should error immediately
and display its usage message.

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

View raw message