Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 71B8C200B9C for ; Mon, 10 Oct 2016 16:07:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7034C160ACA; Mon, 10 Oct 2016 14:07:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DDB57160AE1 for ; Mon, 10 Oct 2016 16:07:22 +0200 (CEST) Received: (qmail 29895 invoked by uid 500); 10 Oct 2016 14:07:22 -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 29879 invoked by uid 99); 10 Oct 2016 14:07:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2016 14:07:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A8C5F2C0B04 for ; Mon, 10 Oct 2016 14:07:21 +0000 (UTC) Date: Mon, 10 Oct 2016 14:07:21 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12744) Randomness of stress distributions is not good MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 10 Oct 2016 14:07:23 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15562403#comment-15562403 ] Paulo Motta commented on CASSANDRA-12744: ----------------------------------------- some [cqlsh_copy_tests|http://cassci.datastax.com/job/tjake-stress-random-dtest/lastCompletedBuild/testReport/cqlsh_tests.cqlsh_copy_tests/] are outputting the following error: {noformat} cassandra-stress did not import enough records {noformat} do you think this could be related to the distribution change? if not, can you maybe rebase and resubmit those? > Randomness of stress distributions is not good > ---------------------------------------------- > > Key: CASSANDRA-12744 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12744 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: T Jake Luciani > Assignee: T Jake Luciani > Priority: Minor > Labels: stress > Fix For: 3.0.10 > > > The randomness of our distributions is pretty bad. We are using the JDKRandomGenerator() but in testing of uniform(1..3) we see for 100 iterations it's only outputting 3. If you bump it to 10k it hits all 3 values. > I made a change to just use the default commons math random generator and now see all 3 values for n=10 -- This message was sent by Atlassian JIRA (v6.3.4#6332)