Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 82804 invoked from network); 30 Aug 2010 09:40:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 09:40:20 -0000 Received: (qmail 8593 invoked by uid 500); 30 Aug 2010 09:40:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 8473 invoked by uid 500); 30 Aug 2010 09:40:18 -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 8465 invoked by uid 99); 30 Aug 2010 09:40:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 09:40:17 +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; Mon, 30 Aug 2010 09:40:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7U9dr0Y005437 for ; Mon, 30 Aug 2010 09:39:54 GMT Message-ID: <33083833.65491283161193967.JavaMail.jira@thor> Date: Mon, 30 Aug 2010 05:39:53 -0400 (EDT) From: "Philip (flip) Kromer (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Issue Comment Edited: (CASSANDRA-1434) ColumnFamilyOutputFormat performs blocking writes for large batches In-Reply-To: <26949102.572491282778419356.JavaMail.jira@thor> 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-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904098#action_12904098 ] Philip (flip) Kromer edited comment on CASSANDRA-1434 at 8/30/10 5:38 AM: -------------------------------------------------------------------------- The blocking behavior is causing 'broken pipe' errors (even with relatively small batch sizes) when cassandra latency is high. (This is afaict not network latency but response latency due to a compaction or flush, etc.) It also makes the whole cluster resonate: one slow node blocks many writers, which then all unblock at the same time, write bursts of enough size to cause a compaction or GC, etc simultaneously on every node. This means adding more writers doesn't work around the blocking write was (Author: mrflip): The blocking behavior is causing 'broken pipe' errors (even with relatively small batch sizes) when cassandra latency is high. It also makes the whole cluster resonate: one slow node blocks many writers, which then all unblock at the same time, write bursts of enough size to cause a compaction or GC, etc simultaneously on every node. This means adding more writers doesn't work around the blocking write > ColumnFamilyOutputFormat performs blocking writes for large batches > ------------------------------------------------------------------- > > Key: CASSANDRA-1434 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1434 > Project: Cassandra > Issue Type: Bug > Components: Hadoop > Reporter: Stu Hood > Fix For: 0.7.0 > > > By default, ColumnFamilyOutputFormat batches {{mapreduce.output.columnfamilyoutputformat.batch.threshold}} or {{Long.MAX_VALUE}} mutations, and then performs a blocking write. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.