From user-return-5350-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed May 05 04:15:33 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 8226 invoked from network); 5 May 2010 04:15:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 04:15:33 -0000 Received: (qmail 84710 invoked by uid 500); 5 May 2010 04:15:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 84681 invoked by uid 500); 5 May 2010 04:15:31 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 84673 invoked by uid 99); 5 May 2010 04:15:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 04:15:31 +0000 X-ASF-Spam-Status: No, hits=-0.2 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 04:15:26 +0000 Received: by wyb32 with SMTP id 32so1197045wyb.31 for ; Tue, 04 May 2010 21:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=LSOzc0fGm0iTVwer7GlakCx2ZLLIPwxaOyQIRMIAe2U=; b=Jm/GmTPf8nFp79FCDc251S9bmxVL9Kl3eOiflikotMOfywOzPLTAKIXqp8KoBM/Du4 EJhQOKRquAHc3YMp3GfB/xVBQMa0Mnrrh5AhiASGuJ7/Tg6PiU7NujlVGp16JVIMd2Dc kED4FQo5Bfhm3H5cYP/i6e47UdJ1+ufWFZI9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Z+DtinqnTuY3yv8QPO3KmWj7tJofJXp+Z29iwwKXqjdYJTgoJJ2QpErzYCs5nLDIth bnJRnXVW7S1Inps6FQaHOASoSDv7MV3MEHjGhBpUseGozIelgTn3Pa56EAnRprUJ3sWo xUEvr45Tg3VEnhcpihf4hyfxTo7+/Ambz8Zqk= Received: by 10.216.159.20 with SMTP id r20mr6832831wek.62.1273032905365; Tue, 04 May 2010 21:15:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.22.10 with HTTP; Tue, 4 May 2010 21:14:45 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Tue, 4 May 2010 23:14:45 -0500 Message-ID: Subject: Re: Use binary memtable to load data To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 4, 2010 at 8:09 PM, Weijun Li wrote: > Does anyone use binary memtable to import data into Cassandra? Yes. > When you do > this how do you determine the destination node that should own those data? You let the StorageProxy API figure that out. > Is replication factor taken into consideration when you import binary > memtable? Yes. You should probably look at the example in contrib/bmt_example. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com