cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8629) Exceptions in cassandra-stress
Date Fri, 23 Oct 2015 14:36:28 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedict updated CASSANDRA-8629:
--------------------------------
    Assignee:     (was: Benedict)

> Exceptions in cassandra-stress
> ------------------------------
>
>                 Key: CASSANDRA-8629
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8629
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Aleksey Yeschenko
>            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)

Mime
View raw message