Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 64253 invoked from network); 11 Dec 2010 23:02:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Dec 2010 23:02:27 -0000 Received: (qmail 60447 invoked by uid 500); 11 Dec 2010 23:02:27 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 60406 invoked by uid 500); 11 Dec 2010 23:02:27 -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 60398 invoked by uid 99); 11 Dec 2010 23:02:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 23:02:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 23:02:24 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBBN22U9002270 for ; Sat, 11 Dec 2010 23:02:03 GMT Message-ID: <29987418.75761292108522278.JavaMail.jira@thor> Date: Sat, 11 Dec 2010 18:02:02 -0500 (EST) From: "Peter Tillotson (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-874) System tests against multiple nodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970537#action_12970537 ] Peter Tillotson commented on CASSANDRA-874: ------------------------------------------- I think that this may already be largely possible via a virtual network, though it presents an ideal case. Libvirt on Linux allows you to set up virtual network interfaces on a given host so you could get multiple instances of Cassandra running on the same local hardware, one could probably simulate failing nodes. see: virsh --net-create for examples > System tests against multiple nodes > ----------------------------------- > > Key: CASSANDRA-874 > URL: https://issues.apache.org/jira/browse/CASSANDRA-874 > Project: Cassandra > Issue Type: Test > Components: Tools > Reporter: Jonathan Ellis > > We have a system test suite (see http://wiki.apache.org/cassandra/HowToContribute ) but it only runs against the local machine, which is suboptimal even if we didn't have a bunch of optimizations to make writes to a local node skip most of the messaging layer. > We'd like to automate testing against a whole cluster. Paul has some code using libcloud to do stress tests against an ephemeral rackspace cloud servers cluster at http://github.com/pquerna/ccb, which is probably useful as a starting point, but rather than running stress.py you'd want to put together a more comprehensive suite, based on the existing system tests but also explicitly covering things like range queries that span multiple nodes and failure conditions like Hinted Handoff (see http://wiki.apache.org/cassandra/HintedHandoff ) and repair (http://wiki.apache.org/cassandra/ArchitectureAntiEntropy ) resulting from deliberately disabling a node temporarily. > Adding tests for ops tasks like http://wiki.apache.org/cassandra/Operations would be awesome too. > Finally, CASSANDRA-561 might make something like this possible using a simulator instead of hardware-level virtualization, which would be both more convenient and less expensive. But someone just dumped a huge zip in our laps w/o really trying to collaborate with us there, so if you want to try to resurrect that code or otherwise go that route, be more open about what you're doing. :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.