You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2011/03/14 22:26:29 UTC
[jira] Created: (CASSANDRA-2326) stress.java indexed range slicing
is broken
stress.java indexed range slicing is broken
-------------------------------------------
Key: CASSANDRA-2326
URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
Project: Cassandra
Issue Type: Bug
Components: Contrib
Reporter: Brandon Williams
Assignee: Pavel Yaskevich
Priority: Trivial
I probably broke it when I fixed the build that CASSANDRA-2312 broken. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018880#comment-13018880 ]
Pavel Yaskevich commented on CASSANDRA-2326:
--------------------------------------------
I agree, I was also thinking about flag which will use old values generator instead of random as I possible solution.
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2326) stress.java indexed range slicing
is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-2326:
---------------------------------------
Comment: was deleted
(was: It does print an exception message when it's not null.
It seems to be imposible to currently implement IndexedRangeSlice operation because Operation.generateValues() now generates strings using randomizer (IndexedRangeSlice implies that we know an exact value we are looking keys for) so each of the runs can potentially give 0 results and we can loop infinitely...)
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006666#comment-13006666 ]
Jonathan Ellis commented on CASSANDRA-2326:
-------------------------------------------
do you get back incomplete data or no data at all?
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006672#comment-13006672 ]
Jonathan Ellis commented on CASSANDRA-2326:
-------------------------------------------
looks like stress.java could stand to print out InvalidRequestException.why
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011846#comment-13011846 ]
Pavel Yaskevich commented on CASSANDRA-2326:
--------------------------------------------
It does print an exception message when it's not null.
It seems to be imposible to currently implement IndexedRangeSlice operation because Operation.generateValues() now generates strings using randomizer (IndexedRangeSlice implies that we know an exact value we are looking keys for) so each of the runs can potentially give 0 results and we can loop infinitely...
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006671#comment-13006671 ]
Brandon Williams commented on CASSANDRA-2326:
---------------------------------------------
{noformat}
contrib/stress/bin/stress -n 300000 -d cassandra-1,cassandra-2,cassandra-3 -i 1 -t 300 -x KEYS -l2 -o INDEXED_RANGE_SLICE
total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
Operation [77] retried 10 times - error on calling get_indexed_slices for offset 0
{noformat}
Not much further with keep-going:
{noformat}
contrib/stress/bin/stress -n 300000 -d cassandra-1,cassandra-2,cassandra-3 -i 1 -t 300 -x KEYS -l2 -o INDEXED_RANGE_SLICE -k
total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
Operation [99] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [178] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [173] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [54] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [190] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [35] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [9] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [104] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [139] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
Operation [195] retried 1 times - error on calling get_indexed_slices for offset 0
Index: 0, Size: 0
{noformat}
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018886#comment-13018886 ]
Pavel Yaskevich commented on CASSANDRA-2326:
--------------------------------------------
I agree with Brandon on this, what do you think Jonathan?
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2326) stress.java indexed range slicing
is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-2326:
---------------------------------------
Attachment: CASSANDRA-2326-trunk.patch
CASSANDRA-2326.patch
-V to generate randomized average size values, old behaviour by default
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Attachments: CASSANDRA-2326-trunk.patch, CASSANDRA-2326.patch
>
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011847#comment-13011847 ]
Pavel Yaskevich commented on CASSANDRA-2326:
--------------------------------------------
It does print an exception message when it's not null.
It seems to be imposible to currently implement IndexedRangeSlice operation because Operation.generateValues() now generates strings using randomizer (IndexedRangeSlice implies that we know an exact value we are looking keys for) so each of the runs can potentially give 0 results and we can loop infinitely...
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021348#comment-13021348 ]
Jonathan Ellis commented on CASSANDRA-2326:
-------------------------------------------
(rebased + committed trunk version)
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Affects Versions: 0.7.4
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.7.5, 0.8
>
> Attachments: CASSANDRA-2326-trunk.patch, CASSANDRA-2326.patch
>
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018878#comment-13018878 ]
Jonathan Ellis commented on CASSANDRA-2326:
-------------------------------------------
a --values [list of values] option sounds like a good solution to me. doesn't have to be specific to index queries, but it's most useful there obviously.
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018276#comment-13018276 ]
Pavel Yaskevich commented on CASSANDRA-2326:
--------------------------------------------
We can maybe offer users to provide list of the values for indexes range slices, don't have any other solution right now...
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018884#comment-13018884 ]
Brandon Williams commented on CASSANDRA-2326:
---------------------------------------------
I like the idea of adding a flag for the old behavior, that Just Worked and didn't require more command line mess. I'd even be onboard with making it the default and having random as an option, since random hasn't bought us much, if anything, yet.
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2326) stress.java indexed range
slicing is broken
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018888#comment-13018888 ]
Jonathan Ellis commented on CASSANDRA-2326:
-------------------------------------------
sgtm
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CASSANDRA-2326) stress.java indexed range slicing
is broken
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-2326:
----------------------------------------
Description: I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works. (was: I probably broke it when I fixed the build that CASSANDRA-2312 broken. Now it compiles, but never works.)
> stress.java indexed range slicing is broken
> -------------------------------------------
>
> Key: CASSANDRA-2326
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2326
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib
> Reporter: Brandon Williams
> Assignee: Pavel Yaskevich
> Priority: Trivial
>
> I probably broke it when I fixed the build that CASSANDRA-2312 broke. Now it compiles, but never works.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira