You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matthew F. Dennis (JIRA)" <ji...@apache.org> on 2011/02/04 01:38:22 UTC

[jira] Created: (CASSANDRA-2108) stress.py uses the same fmt string in several places, it should be centralized

stress.py uses the same fmt string in several places, it should be centralized
------------------------------------------------------------------------------

                 Key: CASSANDRA-2108
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2108
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Matthew F. Dennis
            Assignee: Matthew F. Dennis
            Priority: Minor


the variable "fmt" is duplicated in several places in stress.py  While this isn't really a problem, it's slightly annoying as I often temporarily hack up stress.py to generate different types of keys and having it spread throughput the file is somewhat annoying.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-2108) stress.py uses the same fmt string in several places, it should be centralized

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-2108:
----------------------------------------

    Fix Version/s:     (was: 0.7.2)
                   0.7.3

> stress.py uses the same fmt string in several places, it should be centralized
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2108
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2108
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Matthew F. Dennis
>            Assignee: Matthew F. Dennis
>            Priority: Minor
>             Fix For: 0.7.3
>
>         Attachments: 2108-cassandra-0.7.txt
>
>
> the variable "fmt" is duplicated in several places in stress.py  While this isn't really a problem, it's slightly annoying as I often temporarily hack up stress.py to generate different types of keys and having it spread throughput the file is somewhat annoying.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-2108) stress.py uses the same fmt string in several places, it should be centralized

Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew F. Dennis updated CASSANDRA-2108:
-----------------------------------------

    Attachment: 2108-cassandra-0.7.txt

attached patch removes duplicate copies of the format string used for creating row keys.

> stress.py uses the same fmt string in several places, it should be centralized
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2108
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2108
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Matthew F. Dennis
>            Assignee: Matthew F. Dennis
>            Priority: Minor
>         Attachments: 2108-cassandra-0.7.txt
>
>
> the variable "fmt" is duplicated in several places in stress.py  While this isn't really a problem, it's slightly annoying as I often temporarily hack up stress.py to generate different types of keys and having it spread throughput the file is somewhat annoying.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-2108) stress.py uses the same fmt string in several places, it should be centralized

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2108:
--------------------------------------

    Remaining Estimate: 1h
     Original Estimate: 1h

> stress.py uses the same fmt string in several places, it should be centralized
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2108
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2108
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Matthew F. Dennis
>            Assignee: Matthew F. Dennis
>            Priority: Minor
>             Fix For: 0.7.3
>
>         Attachments: 2108-cassandra-0.7.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> the variable "fmt" is duplicated in several places in stress.py  While this isn't really a problem, it's slightly annoying as I often temporarily hack up stress.py to generate different types of keys and having it spread throughput the file is somewhat annoying.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CASSANDRA-2108) stress.py uses the same fmt string in several places, it should be centralized

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996100#comment-12996100 ] 

Hudson commented on CASSANDRA-2108:
-----------------------------------

Integrated in Cassandra-0.7 #288 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/288/])
    Make py_stress key format global.
Patch by Matthew Dennis, reviewed by brandonwilliams for CASSANDRA-2108.


> stress.py uses the same fmt string in several places, it should be centralized
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2108
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2108
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Matthew F. Dennis
>            Assignee: Matthew F. Dennis
>            Priority: Minor
>             Fix For: 0.7.3
>
>         Attachments: 2108-cassandra-0.7.txt
>
>
> the variable "fmt" is duplicated in several places in stress.py  While this isn't really a problem, it's slightly annoying as I often temporarily hack up stress.py to generate different types of keys and having it spread throughput the file is somewhat annoying.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira