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 EB3F0200CDF for ; Thu, 17 Aug 2017 11:06:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C4E7016A848; Thu, 17 Aug 2017 09:06:07 +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 143C116A845 for ; Thu, 17 Aug 2017 11:06:06 +0200 (CEST) Received: (qmail 11083 invoked by uid 500); 17 Aug 2017 09:06:05 -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 11063 invoked by uid 99); 17 Aug 2017 09:06:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2017 09:06:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AB0C71A1ADD for ; Thu, 17 Aug 2017 09:06:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 9QyfikO7Ksxj for ; Thu, 17 Aug 2017 09:06:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 50C735FBB2 for ; Thu, 17 Aug 2017 09:06:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1C867E0E1A for ; Thu, 17 Aug 2017 09:06:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B545A25389 for ; Thu, 17 Aug 2017 09:06:00 +0000 (UTC) Date: Thu, 17 Aug 2017 09:06:00 +0000 (UTC) From: "Noam Hasson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-13772) Add a skip read validation flag to cassandra-stress MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 17 Aug 2017 09:06:08 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noam Hasson updated CASSANDRA-13772: ------------------------------------ Attachment: 13772-trunk.txt > Add a skip read validation flag to cassandra-stress > --------------------------------------------------- > > Key: CASSANDRA-13772 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13772 > Project: Cassandra > Issue Type: Improvement > Components: Stress > Reporter: Noam Hasson > Priority: Minor > Fix For: 3.11.x > > Attachments: 13772-trunk.txt > > > When running cassandra-stress with read operations, you must make sure all the data was populated beforehand or else you will get the following errors: > java.io.IOException: Operation x0 on key(s) [4d31314e32314b395030]: Data returned was not validated > at org.apache.cassandra.stress.Operation.error(Operation.java:127) > at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:105) > at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:91) > at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:99) > at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:245) > at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:453) > java.lang.RuntimeException: Failed to execute warmup > at org.apache.cassandra.stress.StressAction.warmup(StressAction.java:117) > at org.apache.cassandra.stress.StressAction.run(StressAction.java:62) > at org.apache.cassandra.stress.Stress.run(Stress.java:143) > at org.apache.cassandra.stress.Stress.main(Stress.java:62) > Even if you use the "-errors ignore" flag you'll get a lot of the following messages which will both slow the stress and prevent it from displaying the metrics: > Operation x0 on key(s) [4b3539393831374e3431]: Data returned was not validated > Operation x0 on key(s) [4f4b3936363233375030]: Data returned was not validated > Operation x0 on key(s) [4d304c4b32384f4b3031]: Data returned was not validated > What I propose is to add a flag to skip the read validation, such as: > -errors skip-read-validations > This way when needed you can run a mixed workload and ignore validation of unpopulated data. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org