[jira] [Updated] (CASSANDRA-6824) fix help text for stress counterwrite

2014-03-13 Thread Jonathan Ellis (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-6824:
--

Reviewer: Pavel Yaskevich

> fix help text for stress counterwrite
> -
>
> Key: CASSANDRA-6824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6824
> 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  OR 
> Usage: counteradd n=? [tries=?] [ignore_errors] [cl=?]
>   err the mean is below this fraction
>   n>? (default=30) Run at least this many iterations 
> before accepting uncertainty convergence
>   n before accepting uncertainty convergence
>   tries=? (default=9)  Number of tries to perform for 
> each operation before failing
>   ignore_errorsDo 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
(v6.2#6252)


[jira] [Updated] (CASSANDRA-6824) fix help text for stress counterwrite

2014-03-07 Thread Benedict (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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 " 
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: https://issues.apache.org/jira/browse/CASSANDRA-6824
> 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  OR 
> Usage: counteradd n=? [tries=?] [ignore_errors] [cl=?]
>   err the mean is below this fraction
>   n>? (default=30) Run at least this many iterations 
> before accepting uncertainty convergence
>   n before accepting uncertainty convergence
>   tries=? (default=9)  Number of tries to perform for 
> each operation before failing
>   ignore_errorsDo 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
(v6.2#6252)


[jira] [Updated] (CASSANDRA-6824) fix help text for stress counterwrite

2014-03-07 Thread Russ Hatch (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Russ Hatch updated CASSANDRA-6824:
--

Attachment: trunk-6824.txt

attaching patch

> fix help text for stress counterwrite
> -
>
> Key: CASSANDRA-6824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6824
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Russ Hatch
>Assignee: Russ Hatch
>Priority: Trivial
> Fix For: 2.1
>
> Attachments: 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  OR 
> Usage: counteradd n=? [tries=?] [ignore_errors] [cl=?]
>   err the mean is below this fraction
>   n>? (default=30) Run at least this many iterations 
> before accepting uncertainty convergence
>   n before accepting uncertainty convergence
>   tries=? (default=9)  Number of tries to perform for 
> each operation before failing
>   ignore_errorsDo 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
(v6.2#6252)


[jira] [Updated] (CASSANDRA-6824) fix help text for stress counterwrite

2014-03-07 Thread Russ Hatch (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Russ Hatch updated CASSANDRA-6824:
--

Assignee: (was: Russ Hatch)

> fix help text for stress counterwrite
> -
>
> Key: CASSANDRA-6824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6824
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Russ Hatch
>Priority: Trivial
> Fix For: 2.1
>
> Attachments: 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  OR 
> Usage: counteradd n=? [tries=?] [ignore_errors] [cl=?]
>   err the mean is below this fraction
>   n>? (default=30) Run at least this many iterations 
> before accepting uncertainty convergence
>   n before accepting uncertainty convergence
>   tries=? (default=9)  Number of tries to perform for 
> each operation before failing
>   ignore_errorsDo 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
(v6.2#6252)