Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23B3895A7 for ; Wed, 29 Feb 2012 16:52:27 +0000 (UTC) Received: (qmail 23759 invoked by uid 500); 29 Feb 2012 16:52:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 23732 invoked by uid 500); 29 Feb 2012 16:52:24 -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 23724 invoked by uid 99); 29 Feb 2012 16:52:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 16:52:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of casey@deccio.net designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-tul01m020-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 16:52:20 +0000 Received: by obbeh20 with SMTP id eh20so5079436obb.31 for ; Wed, 29 Feb 2012 08:51:59 -0800 (PST) Received-SPF: pass (google.com: domain of casey@deccio.net designates 10.182.51.73 as permitted sender) client-ip=10.182.51.73; Authentication-Results: mr.google.com; spf=pass (google.com: domain of casey@deccio.net designates 10.182.51.73 as permitted sender) smtp.mail=casey@deccio.net; dkim=pass header.i=casey@deccio.net Received: from mr.google.com ([10.182.51.73]) by 10.182.51.73 with SMTP id i9mr457185obo.17.1330534319249 (num_hops = 1); Wed, 29 Feb 2012 08:51:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deccio.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vZITSI2rXsHcVpL0atlincUZpAoiyUCWop4mrI65wzc=; b=HZ+kqU1u1xpaIgnySuHp8tdfbNfFLg/xgGg/qFFbDhxjHOt4a58aPKj9TJkoB14G8z VZUExmC2wAYMxKBhrM2TVJfBWfXEs14TNd9GaQZjYEmx8xc0rvt+Te4xeo8w6C4PZyx5 q+eWNsf+ccgxTDTf4KrdqIkfeLLekQLa4ZSSs= MIME-Version: 1.0 Received: by 10.182.51.73 with SMTP id i9mr392278obo.17.1330534319167; Wed, 29 Feb 2012 08:51:59 -0800 (PST) Received: by 10.182.21.171 with HTTP; Wed, 29 Feb 2012 08:51:59 -0800 (PST) In-Reply-To: References: Date: Wed, 29 Feb 2012 08:51:59 -0800 Message-ID: Subject: Re: can't find rows From: Casey Deccio To: user Content-Type: multipart/alternative; boundary=f46d044470db7499c704ba1d29a4 X-Gm-Message-State: ALoCoQlf/mwuGVrqGvr/PkAwfRGoSNLvR71ToqlxKiEQc/hNcabOcZmNK+hxC+iF+ffxls8Rat0m X-Virus-Checked: Checked by ClamAV on apache.org --f46d044470db7499c704ba1d29a4 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Feb 29, 2012 at 5:29 AM, Casey Deccio wrote: > On Wed, Feb 29, 2012 at 5:25 AM, Casey Deccio wrote: > >> I recently had to do some shuffling with one of my cassandra nodes >> because it was running out of disk space. I did a few things in the >> process, and I'm not sure in the end which caused my problem. First I >> added a second file path to the data directory in cassandra.yaml. Things >> still worked fine after this, as far as I could tell. Shortly after this, >> however, I took down the node and rsync'd the data from both data >> directories, as well as commitlogs, to an external drive. I then shut down >> the machine, replaced the hard drives with bigger drives, and re-installed >> the OS. I re-created the data directories, rsync'd the data and commitlogs >> back over from the external drive, and started up cassandra, re-adding it >> to the ring. When it came up, all of my rows were missing for one >> columnfamily and nearly all my rows were missing for another--or at least >> that's what it looks like, based on walking the rows. I tried scrubbing >> each of the nodes. One of them had insufficient disk space (yes, this >> seems to be a recurring problem) for scrub, so I did upgradesstables >> instead, and that one is still in progress. So far the >> scrub/upgradesstables hasn't seemed to help. But in the log messages >> created during scrub/upgradesstables it shows realistic numbers (i.e., in >> terms of the rows that existed before this ordeal) created in each new >> sstable. Also, the loads shown when I run nodetool ring still reflects the >> numbers with the complete set of rows. That's encouraging, but I can't >> seem to access these phantom rows. Please help! >> >> > I neglected to mention that I'm running cassandra 1.0.7. > > Apologies for replying to my own post (again), but here's the follow up. I decommissioned the newest of the four nodes in the cluster, which was carrying hardly any load (I'm using ByteOrderedPartitioner), but after I decommissioned, rows were available again, but only as they were from 10 days ago. Supercolumns added after that date weren't around. Casey --f46d044470db7499c704ba1d29a4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Feb 29, 2012 at 5:29 AM, Casey Deccio <casey@deccio.net> wrote:
On Wed, Feb 29, 2012 at 5:25 AM, Casey Deccio <casey@deccio.net>= ; wrote:
I recently had to do some shuffling with one of my cassandra nodes because = it was running out of disk space.=A0 I did a few things in the process, and= I'm not sure in the end which caused my problem.=A0 First I added a se= cond file path to the data directory in cassandra.yaml.=A0 Things still wor= ked fine after this, as far as I could tell.=A0 Shortly after this, however= , I took down the node and rsync'd the data from both data directories,= as well as commitlogs, to an external drive.=A0 I then shut down the machi= ne, replaced the hard drives with bigger drives, and re-installed the OS.= =A0 I re-created the data directories, rsync'd the data and commitlogs = back over from the external drive, and started up cassandra, re-adding it t= o the ring.=A0 When it came up, all of my rows were missing for one columnf= amily and nearly all my rows were missing for another--or at least that'= ;s what it looks like, based on walking the rows.=A0 I tried scrubbing each= of the nodes.=A0 One of them had insufficient disk space (yes, this seems = to be a recurring problem) for scrub, so I did upgradesstables instead, and= that one is still in progress.=A0 So far the scrub/upgradesstables hasn= 9;t seemed to help.=A0 But in the log messages created during scrub/upgrade= sstables it shows realistic numbers (i.e., in terms of the rows that existe= d before this ordeal) created in each new sstable.=A0 Also, the loads shown= when I run nodetool ring still reflects the numbers with the complete set = of rows.=A0 That's encouraging, but I can't seem to access these ph= antom rows.=A0 Please help!


I neglected to mention that I'm running= cassandra 1.0.7.


Apologies for re= plying to my own post (again), but here's the follow up.=A0 I decommiss= ioned the newest of the four nodes in the cluster, which was carrying hardl= y any load (I'm using ByteOrderedPartitioner), but after I decommission= ed, rows were available again, but only as they were from 10 days ago.=A0 S= upercolumns added after that date weren't around.

Casey
--f46d044470db7499c704ba1d29a4--