Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 42592 invoked from network); 26 Jan 2011 07:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jan 2011 07:27:12 -0000 Received: (qmail 58930 invoked by uid 500); 26 Jan 2011 07:27:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58625 invoked by uid 500); 26 Jan 2011 07:27:06 -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 58616 invoked by uid 99); 26 Jan 2011 07:27:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jan 2011 07:27:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patrik.modesto@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jan 2011 07:26:58 +0000 Received: by qwi2 with SMTP id 2so680285qwi.31 for ; Tue, 25 Jan 2011 23:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=066zP1mSJ/eVjMrRl38C/M2nW6lx6KO9fbYr5ZoWyW0=; b=DUQgoDzbkc0qjaEJKQ5O/wTpDuY6kQd0H2S/AxtEjHmwgyoPcao/8kSOUW33DDKTUp fo/DgJRiYyHNPcdysRrZw9407TKuyvDh8RaJOu/26ofF22aKOQGLldyZXOaVJ7v+5har aK++5yj9EI18chRpClEWcX3Z5LxY89FgcaLOg= 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:content-transfer-encoding; b=H0APoU0nwuEmtqrYc30nhnKG7spUKg/N75kqd/cxO4VEoUBnRU9sNvxbjDCr2zgNAa ngrH2pnTZcU9go6JqGlV4at23ngZduwhtPwVHtqHXeEhyiSR+YfPpdoempRzKM8HOo2m xUv/KsZJ4atAEtiqS3B67/lEh4sYMMjjesAns= Received: by 10.229.224.212 with SMTP id ip20mr96336qcb.237.1296026796673; Tue, 25 Jan 2011 23:26:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.16.201 with HTTP; Tue, 25 Jan 2011 23:26:15 -0800 (PST) In-Reply-To: <1295978973.10309.321.camel@localhost> References: <1295957734.10309.92.camel@localhost> <1295978973.10309.321.camel@localhost> From: Patrik Modesto Date: Wed, 26 Jan 2011 08:26:15 +0100 Message-ID: Subject: Re: [mapreduce] ColumnFamilyRecordWriter hidden reuse To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Jan 25, 2011 at 19:09, Mick Semb Wever wrote: > In fact i have another problem (trying to write an empty byte[], or > something, as a key, which put one whole row out of whack, ((one row in > 25 million...))). > > But i'm debugging along the same code. > > I don't quite understand how the byte[] in > ByteBuffer.wrap(key.getBytes(),...) > gets clobbered. Code snippet would help here. > Well your key is a mutable Text object, so i can see some possibility > depending on how hadoop uses these objects. > Is there something to ByteBuffer.allocate(..) i'm missing... I don't know, I'm quite new to Java (but with long C++ history). > btw. > =A0is "d.timestamp =3D System.currentTimeMillis();" ok? > =A0shouldn't this be microseconds so that each mutation has a different > timestamp? http://wiki.apache.org/cassandra/DataModel You are correct that microseconds would be better but for the test it doesn't matter that much. Patrik