Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18FBD108CC for ; Wed, 3 Dec 2014 06:34:14 +0000 (UTC) Received: (qmail 87943 invoked by uid 500); 3 Dec 2014 06:34:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 87851 invoked by uid 500); 3 Dec 2014 06:34:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 87663 invoked by uid 99); 3 Dec 2014 06:34:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 06:34:13 +0000 Date: Wed, 3 Dec 2014 06:34:13 +0000 (UTC) From: "Igor Meltser (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8412) Cassandra stress tool fails with NotStrictlyPositiveException on example profiles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Meltser updated CASSANDRA-8412: ------------------------------------ Description: 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.(NormalDistribution.java:108) at org.apache.cassandra.stress.settings.OptionDistribution$GaussianFactory.get(OptionDistribution.java:418) at org.apache.cassandra.stress.generate.SeedManager.(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 was: 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.(NormalDistribution.java:108) at org.apache.cassandra.stress.settings.OptionDistribution$GaussianFactory.get(OptionDistribution.java:418) at org.apache.cassandra.stress.generate.SeedManager.(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 > Cassandra stress tool fails with NotStrictlyPositiveException on example profiles > --------------------------------------------------------------------------------- > > Key: CASSANDRA-8412 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8412 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: Linux Centos > Reporter: Igor Meltser > Priority: Critical > Labels: stress, tools > > 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.(NormalDistribution.java:108) > at org.apache.cassandra.stress.settings.OptionDistribution$GaussianFactory.get(OptionDistribution.java:418) > at org.apache.cassandra.stress.generate.SeedManager.(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)