[ 
https://issues.apache.org/jira/browse/CASSANDRA-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072307#comment-17072307
 ] 

miranda zhang commented on CASSANDRA-8629:
------------------------------------------

Still hitting this exception, even with no-warmup, like
{code:java}
cassandra-stress user no-warmup ops(insert=10) profile=stressSpec.yaml 
cl=QUORUM duration=30m -mode native cql3 maxPending=32768 connectionsPerHost=10 
-rate threads=1500 -node file=node_list.txt{code}
only see this when "threads" is set to a large number.

> Exceptions in cassandra-stress
> ------------------------------
>
>                 Key: CASSANDRA-8629
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8629
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/stress
>            Reporter: Aleksey Yeschenko
>            Priority: Low
>              Labels: stress
>
> 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to