Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FE55D4B2 for ; Fri, 21 Sep 2012 20:02:08 +0000 (UTC) Received: (qmail 60455 invoked by uid 500); 21 Sep 2012 20:02:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 60436 invoked by uid 500); 21 Sep 2012 20:02:08 -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 60215 invoked by uid 99); 21 Sep 2012 20:02:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 20:02:07 +0000 Date: Sat, 22 Sep 2012 07:02:07 +1100 (NCT) From: "Robbie Strickland (JIRA)" To: commits@cassandra.apache.org Message-ID: <2074692748.109323.1348257727816.JavaMail.jiratomcat@arcas> In-Reply-To: <1331112659.13663.1335891530681.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-4208) ColumnFamilyOutputFormat should support writing to multiple column families MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robbie Strickland updated CASSANDRA-4208: ----------------------------------------- Attachment: cassandra-1.1-4208-v4.txt I've attached a new patch that removes the check for a null output CF on BulkOutputFormat. This allows BOF to use the MultipleOutputs API. > ColumnFamilyOutputFormat should support writing to multiple column families > --------------------------------------------------------------------------- > > Key: CASSANDRA-4208 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4208 > Project: Cassandra > Issue Type: Improvement > Components: Hadoop > Affects Versions: 1.1.0 > Reporter: Robbie Strickland > Attachments: cassandra-1.1-4208.txt, cassandra-1.1-4208-v2.txt, cassandra-1.1-4208-v3.txt, cassandra-1.1-4208-v4.txt, trunk-4208.txt, trunk-4208-v2.txt > > > It is not currently possible to output records to more than one column family in a single reducer. Considering that writing values to Cassandra often involves multiple column families (i.e. updating your index when you insert a new value), this seems overly restrictive. I am submitting a patch that moves the specification of column family from the job configuration to the write() call in ColumnFamilyRecordWriter. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira