[
https://issues.apache.org/jira/browse/CASSANDRA-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496504#comment-14496504
]
Jeremy Hanna edited comment on CASSANDRA-8629 at 4/15/15 4:54 PM:
------------------------------------------------------------------
I can reliably repro the DynamicList problem on a cluster with this:
{code}
cassandra-stress user profile=./cqlstress-example.yaml
ops\(insert=1,simple1=1\) duration=10m -rate threads=100 -node 1.2.3.4 -mode
native cql3 user=tbombadil password=goldberry4ever
{code}
Using no-warmup does workaround the problem.
was (Author: jeromatron):
I can reliably repro the DynamicList problem on a cluster with this:
[code]
cassandra-stress user profile=./cqlstress-example.yaml
ops\(insert=1,simple1=1\) duration=10m -rate threads=100 -node 1.2.3.4 -mode
native cql3 user=tbombadil password=goldberry4ever
[code]
Using no-warmup does workaround the problem.
> Exceptions in cassandra-stress
> ------------------------------
>
> Key: CASSANDRA-8629
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8629
> Project: Cassandra
> Issue Type: Bug
> Reporter: Aleksey Yeschenko
> Assignee: Benedict
> Priority: Trivial
>
> cassandra-stress when run with tiny n, throws
> org.apache.commons.math3.exception.NotStrictlyPositiveException.
> Now, n=1 doesn't really make any sense, w/ 50k writes used just for warmup,
> but an exception is still an exception. Labeled w/ priority: Trivial.
> Profile used: http://pastebin.com/raw.php?i=9U5EMdVq
> {noformat}
> tools/bin/cassandra-stress user profile=partition.yaml ops\(insert=1\) n=1
> -rate threads=50
> INFO 18:21:59 Using data-center name 'datacenter1' for
> DCAwareRoundRobinPolicy (if this is incorrect, please provide the correct
> datacenter name with DCAwareRoundRobinPolicy constructor)
> Connected to cluster: Test Cluster
> Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
> INFO 18:21:59 New Cassandra host localhost/127.0.0.1:9042 added
> Created schema. Sleeping 1s for propagation.
> Exception in thread "main"
> org.apache.commons.math3.exception.NotStrictlyPositiveException: standard
> deviation (0)
> at
> org.apache.commons.math3.distribution.NormalDistribution.<init>(NormalDistribution.java:108)
> at
> org.apache.cassandra.stress.settings.OptionDistribution$GaussianFactory.get(OptionDistribution.java:418)
> at
> org.apache.cassandra.stress.generate.SeedManager.<init>(SeedManager.java:59)
> at
> org.apache.cassandra.stress.settings.SettingsCommandUser.getFactory(SettingsCommandUser.java:78)
> at org.apache.cassandra.stress.StressAction.run(StressAction.java:61)
> at org.apache.cassandra.stress.Stress.main(Stress.java:109)
> {noformat}
> On cassandra-2.1 HEAD, I cannot reproduce it, but get a different exception,
> with n=10:
> {noformat}
> Exception in thread "Thread-13" java.lang.AssertionError
> at
> org.apache.cassandra.stress.util.DynamicList.remove(DynamicList.java:156)
> at org.apache.cassandra.stress.generate.Seed.remove(Seed.java:83)
> at
> org.apache.cassandra.stress.generate.SeedManager.markLastWrite(SeedManager.java:115)
> at
> org.apache.cassandra.stress.generate.PartitionIterator$MultiRowIterator.setHasNext(PartitionIterator.java:561)
> at
> org.apache.cassandra.stress.generate.PartitionIterator$MultiRowIterator.seek(PartitionIterator.java:333)
> at
> org.apache.cassandra.stress.generate.PartitionIterator$MultiRowIterator.reset(PartitionIterator.java:242)
> at
> org.apache.cassandra.stress.generate.PartitionIterator.reset(PartitionIterator.java:99)
> at org.apache.cassandra.stress.Operation.ready(Operation.java:110)
> at
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:288)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)