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 C14B2200B74 for ; Thu, 1 Sep 2016 16:24:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BFD99160AB5; Thu, 1 Sep 2016 14:24:22 +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 0EC04160AAE for ; Thu, 1 Sep 2016 16:24:21 +0200 (CEST) Received: (qmail 11785 invoked by uid 500); 1 Sep 2016 14:24:21 -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 11774 invoked by uid 99); 1 Sep 2016 14:24:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 14:24:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1680F2C1B7B for ; Thu, 1 Sep 2016 14:24:21 +0000 (UTC) Date: Thu, 1 Sep 2016 14:24:21 +0000 (UTC) From: "Joel Knighton (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-12237) Cassandra stress graphing is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Sep 2016 14:24:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Knighton updated CASSANDRA-12237: -------------------------------------- Status: Ready to Commit (was: Patch Available) > Cassandra stress graphing is broken > ----------------------------------- > > Key: CASSANDRA-12237 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12237 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Christopher Batey > Assignee: Christopher Batey > Fix For: 3.x > > Attachments: 12237-trunk.txt > > > Cassandra stress relies on a tmp file with the stress output so it can parse it and put it the the graph html. > However the contents of this file is now broken: > {code} > Sleeping 2s...Sleeping 2s... > Sleeping 2s... > Warming up WRITE with 50000 iterations...Warming up WRITE with 50000 iterations... > Warming up WRITE with 50000 iterations... > Running WRITE with 500 threads 10 secondsRunning WRITE with 500 threads 10 seconds > Running WRITE with 500 threads 10 seconds > ... > {code} > This is as we create a {code}MultiPrintStream{code} that inherits from {code}PrintWriter{code} and then delegate the call to super as well as a list of other PrintWriters > The call to super for println comes back into our print method so every line gets logged multiple times as we do the for (PrintStream s: newStreams) many times. > We can change this to use composition and use our own interface if we want to use a composite for logging the results > This results in the parsing of this file not quite working and the aggregate stats not working in produced graphs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)