cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8411) Cassandra stress tool fails with NotStrictlyPositiveException on example profiles
Date Mon, 23 Mar 2015 02:28:12 GMT

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

Jonathan Ellis updated CASSANDRA-8411:
--------------------------------------
    Reviewer: T Jake Luciani

> Cassandra stress tool fails with NotStrictlyPositiveException on example profiles
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8411
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8411
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Linux Centos
>            Reporter: Igor Meltser
>            Assignee: Benedict
>            Priority: Trivial
>             Fix For: 2.1.4
>
>         Attachments: 8411.txt
>
>
> Trying to run stress tool with provided profile fails:
> dsc-cassandra-2.1.2/tools $ ./bin/cassandra-stress user n=1 profile=cqlstress-example.yaml
ops\(insert=1\) -node ....
> INFO  06:21:35 Using data-center name 'datacenter1' for DCAwareRoundRobinPolicy (if this
is incorrect, please provide the correct datacenter name with DCAwareRoundRobinPolicy constructor)
> Connected to cluster: Benchmark Cluster
> INFO  06:21:35 New Cassandra host /....:9042 added
> Datatacenter: datacenter1; Host: /.....; Rack: rack1
> Datatacenter: datacenter1; Host: /....; Rack: rack1
> Datatacenter: datacenter1; Host: ..../....; Rack: rack1
> INFO  06:21:35 New Cassandra host ..../....:9042 added
> INFO  06:21:35 New Cassandra host /....:9042 added
> Created schema. Sleeping 3s 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)
> The tool is 2.1.2 version, but the tested Cassandra is 2.0.8 version



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message