cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-6824) fix help text for stress counterwrite
Date Fri, 07 Mar 2014 23:09:46 GMT


Benedict updated CASSANDRA-6824:

    Attachment: 6824-2.txt

Actually it looks like this was a minor bug - it should accept both commands. Had a quick
look and this was only functioning for printing of help, not for running the commands, which
was a bit of a mistake. 

Attached a patch that fixes this, and also adds a line stating "help <command>" right
at the top, as I had a number of queries from people about how on earth it worked that were
mostly solved by giving them that command; it's not obvious from its position in the normal
print out that it would be so useful.

> fix help text for stress counterwrite
> -------------------------------------
>                 Key: CASSANDRA-6824
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Russ Hatch
>            Priority: Trivial
>             Fix For: 2.1
>         Attachments: 6824-2.txt, trunk-6824.txt
> the help output for counterwrite shows 'counteradd' in the syntax instead of 'counterwrite'.
> {noformat}
> rhatch@whatup:~/git/cstar/cassandra/tools$ ./bin/cassandra-stress help counterwrite
> Usage: counteradd [err<?] [n>?] [n<?] [tries=?] [ignore_errors] [cl=?]
>  OR 
> Usage: counteradd n=? [tries=?] [ignore_errors] [cl=?]
>   err<? (default=0.02)                     Run until the standard error of the mean
is below this fraction
>   n>? (default=30)                         Run at least this many iterations before
accepting uncertainty convergence
>   n<? (default=200)                        Run at most this many iterations before
accepting uncertainty convergence
>   tries=? (default=9)                      Number of tries to perform for each operation
before failing
>   ignore_errors                            Do not print/log errors
>   cl=? (default=ONE)                       Consistency level to use
>   n=?                                      Number of operations to perform
> {noformat}

This message was sent by Atlassian JIRA

View raw message