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 AE0BF9E71 for ; Wed, 29 Feb 2012 13:26:20 +0000 (UTC) Received: (qmail 41529 invoked by uid 500); 29 Feb 2012 13:26:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 41506 invoked by uid 500); 29 Feb 2012 13:26:18 -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 41498 invoked by uid 99); 29 Feb 2012 13:26:18 -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 13:26:18 +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 13:26:13 +0000 Received: by obbeh20 with SMTP id eh20so4832774obb.31 for ; Wed, 29 Feb 2012 05:25:52 -0800 (PST) Received-SPF: pass (google.com: domain of casey@deccio.net designates 10.60.9.228 as permitted sender) client-ip=10.60.9.228; Authentication-Results: mr.google.com; spf=pass (google.com: domain of casey@deccio.net designates 10.60.9.228 as permitted sender) smtp.mail=casey@deccio.net; dkim=pass header.i=casey@deccio.net Received: from mr.google.com ([10.60.9.228]) by 10.60.9.228 with SMTP id d4mr100476oeb.37.1330521952311 (num_hops = 1); Wed, 29 Feb 2012 05:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deccio.net; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=9vunuDwqO9Osv0uiCdFTRabcqjCX/fvWSeRf21XJEKs=; b=cEBZbpCjKNyfmWvp1Enq5tJC/2t6Ir284Tfb9OVnNZdOeGnO4NLcZKXernO5lbyuuD 1PL8bIc6W+SFYMEFQ9J9LLxzz6ekY5dOwRaYFZuIXxNeQY8tq4F7fC3Xk4AZx8dq7L3J O3PlZdr1mKL0Iqtzxl0Dutn28uD7fe+VKdqnU= MIME-Version: 1.0 Received: by 10.60.9.228 with SMTP id d4mr86591oeb.37.1330521952250; Wed, 29 Feb 2012 05:25:52 -0800 (PST) Received: by 10.182.21.171 with HTTP; Wed, 29 Feb 2012 05:25:52 -0800 (PST) Date: Wed, 29 Feb 2012 05:25:52 -0800 Message-ID: Subject: can't find rows From: Casey Deccio To: user Content-Type: multipart/alternative; boundary=e89a8ff2500e546cb104ba1a48a2 X-Gm-Message-State: ALoCoQlrUP3idqGgfq3yfEeDGX2QL847FqWoaQfpRs/7ghBPITgBvOnsC8IdA9hmwajxjLYbkygr X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff2500e546cb104ba1a48a2 Content-Type: text/plain; charset=ISO-8859-1 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! Thanks, Casey --e89a8ff2500e546cb104ba1a48a2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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!

Thanks,
Casey
--e89a8ff2500e546cb104ba1a48a2--