You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/07/03 13:12:24 UTC

[jira] [Created] (CASSANDRA-4406) Update stress for CQL3

Sylvain Lebresne created CASSANDRA-4406:
-------------------------------------------

             Summary: Update stress for CQL3
                 Key: CASSANDRA-4406
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
    Affects Versions: 1.1.0
            Reporter: Sylvain Lebresne
             Fix For: 1.2


Stress does not support CQL3. We should add support for it so that:
# we can benchmark CQL3
# we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4406) Update stress for CQL3

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

David Alves updated CASSANDRA-4406:
-----------------------------------

    Attachment: 4406.patch

this patch does the following:

- updates cql version to 3.0
- adds column names and types to the cfdef
- uses those column names to build the statement (prepared statement previsouly used ?=? pairs for columns now uses "C.." = ? pairs)
                
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2
>
>         Attachments: 4406.patch
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-4406) Update stress for CQL3

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

Pavel Yaskevich commented on CASSANDRA-4406:
--------------------------------------------

I think it's to early to move stress to cql3 entirely so, first of all, it would be great to make it optional (e.g. -L3 (--enable-cql3)), and second, there is no notion of SELECT FIRST in CQL3 so you would have to work on CqlReader make it work. 
                
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2
>
>         Attachments: 4406.patch, 4406.patch
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4406) Update stress for CQL3

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

David Alves updated CASSANDRA-4406:
-----------------------------------

    Attachment: 4406.patch

removed whitespace
                
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2
>
>         Attachments: 4406.patch, 4406.patch
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4406) Update stress for CQL3

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

Jonathan Ellis updated CASSANDRA-4406:
--------------------------------------

    Reviewer: xedin
    
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CASSANDRA-4406) Update stress for CQL3

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

Jonathan Ellis reassigned CASSANDRA-4406:
-----------------------------------------

    Assignee: David Alves
    
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4406) Update stress for CQL3

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

David Alves updated CASSANDRA-4406:
-----------------------------------

    Attachment: 4406.patch

addresses Pavel's review issues namely:

-adds support for both cql version (through -L and -L3) 
-CQLReader now correctly forms both cql2 and cql3 queries.


also readded support for time uuid col names in cql2
                
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2.0
>
>         Attachments: 4406.patch, 4406.patch, 4406.patch
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4406) Update stress for CQL3

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

David Alves commented on CASSANDRA-4406:
----------------------------------------

What I couldn't figure out was how to use UUID column names (required when the TimeUUID comparator is set with the U option), that option currently throws an UnsupportedOperationException.
                
> Update stress for CQL3
> ----------------------
>
>                 Key: CASSANDRA-4406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: David Alves
>              Labels: stress
>             Fix For: 1.2
>
>         Attachments: 4406.patch
>
>
> Stress does not support CQL3. We should add support for it so that:
> # we can benchmark CQL3
> # we can benchmark CASSANDRA-2478

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira