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 18A7175E9 for ; Sun, 2 Oct 2011 06:43:02 +0000 (UTC) Received: (qmail 4992 invoked by uid 500); 2 Oct 2011 06:42:59 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 4966 invoked by uid 500); 2 Oct 2011 06:42:59 -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 4450 invoked by uid 99); 2 Oct 2011 06:42:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 06:42:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of springrider@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 06:42:52 +0000 Received: by iaby26 with SMTP id y26so4588188iab.31 for ; Sat, 01 Oct 2011 23:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=6oyOUXssHPrbWUzbtaPBPtAnXJStB/JZYdK3i9EcD3s=; b=ZXBTS7oARC+aYPw13oEJ2y7yZBx+jluzg8ivfBHkNAfVtrpyhUUnZAOg03zBVFYzug HQXB8AhmPf64toUt4InYfnDGTfizfa46OcX6UMJx+oiuAMyEjBSjAFqiiOn4m2Tp6w6u INL921abmTEIdZBZCLEYPqTXPrQ/WO0jCBP40= Received: by 10.231.6.148 with SMTP id 20mr20744211ibz.28.1317537751845; Sat, 01 Oct 2011 23:42:31 -0700 (PDT) Received: from [192.168.1.105] ([121.24.42.110]) by mx.google.com with ESMTPS id v16sm20269073ibe.0.2011.10.01.23.42.29 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Oct 2011 23:42:30 -0700 (PDT) Subject: Re: anyway to disable row/key cache on single node while starting it? References: From: Springrider Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (8B117) In-Reply-To: Message-Id: Date: Sun, 2 Oct 2011 14:41:50 +0800 To: "user@cassandra.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8B117) Thanks a lot! Will try it.=20 Sent from my iPhone On Sep 28, 2011, at 12:03 AM, Peter Schuller w= rote: >> again.... I was doing repair on single CF and it crashed because of OOM, >> leaving 286GB data(should be 40GB). the problem here is it take very ve= ry >> long to make the node back to alive, seems because of it was loading r= ow >> cache. the last time I encountered this, I did people suggested that del= ete >> everything in saved_cache directory and update the schema to set row/key >> cache to 0. but it seems is cluster wide and affect other nodes. >> so is there anyway to stop the node to load cache while starting? >=20 > Just removing the saved_cache stuff on the node accomplishes that. >=20 > You can also change the cache sizes transiently on a single node by > using nodetool, but there is no need to do that if all you're after is > to avoid reading in row cache on startup. Simply removing the saved > caches is enough. >=20 > --=20 > / Peter Schuller (@scode on twitter)