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 2B19DDE69 for ; Wed, 14 Nov 2012 02:48:18 +0000 (UTC) Received: (qmail 74838 invoked by uid 500); 14 Nov 2012 02:48:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74796 invoked by uid 500); 14 Nov 2012 02:48:15 -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 74785 invoked by uid 99); 14 Nov 2012 02:48:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 02:48:15 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of owenzhang1990@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-we0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 02:48:07 +0000 Received: by mail-we0-f172.google.com with SMTP id u46so3961619wey.31 for ; Tue, 13 Nov 2012 18:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MZS2vpjjFmxBp5ZJRc3ZLeF06WMZAdNCftRlOvi2/Co=; b=a59rSXHZKMz+8YHobOW7Ym3rAI59l30nvxaGWmp5a8tWxZHPQwmmccw+sbSS2UoY// 8GNWUiSMl5RO9wVeeI+lgAQiUMVb20YNWj24mlLdPAp50jCUobLKgNLQdyL77x2WoywC L0eaj2BSzhaUayYqRfKYEfo1k6MPZ7I7+Rly7+sR0KJ/frqOz1NZesrQtl7r2iHCyl9U gt63878Sekwf7dw/znII29CIHhZZzdAOnfwsUt+LtCr/1JnMR/zb3hhM7tIsezKIu7ao P0qghrwjTaKlVyKXpBqEOrzkCGL5BLOYffxK54gu8bFAUQDoI2iBySXQneXDqnWoXmar ffCA== MIME-Version: 1.0 Received: by 10.180.79.37 with SMTP id g5mr23508095wix.7.1352861267399; Tue, 13 Nov 2012 18:47:47 -0800 (PST) Received: by 10.194.28.42 with HTTP; Tue, 13 Nov 2012 18:47:47 -0800 (PST) In-Reply-To: References: Date: Wed, 14 Nov 2012 10:47:47 +0800 Message-ID: Subject: Re: unable to read saved rowcache from disk From: Manu Zhang To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d044306b046152f04ce6b8f27 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044306b046152f04ce6b8f27 Content-Type: text/plain; charset=ISO-8859-1 "incorrect"... what do you mean? I think it's only 15MB, which is not big. On Wed, Nov 14, 2012 at 10:38 AM, Edward Capriolo wrote: > Yes the row cache "could be" incorrect so on startup cassandra verify they > saved row cache by re reading. It takes a long time so do not save a big > row cache. > > > On Tuesday, November 13, 2012, Manu Zhang wrote: > > I have a rowcache provieded by SerializingCacheProvider. > > The data that has been read into it is about 500MB, as claimed by > jconsole. After saving cache, it is around 15MB on disk. Hence, I suppose > the size from jconsole is before serializing. > > Now while restarting Cassandra, it's unable to read saved rowcache back. > By "unable", I mean around 4 hours and I have to abort it and remove cache > so as not to suspend other tasks. > > Since the data aren't huge, why Cassandra can't read it back? > > My Cassandra is 1.2.0-beta2. > --f46d044306b046152f04ce6b8f27 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable "incorrect"... what do you mean? I think it's only 15MB, whic= h is not big.


= On Wed, Nov 14, 2012 at 10:38 AM, Edward Capriolo <edlinuxguru@gmail.c= om> wrote:
Yes the row cache "could be" incor= rect so on startup cassandra verify they saved row cache by re reading. It = takes a long time so do not save a big row cache.


On Tuesday, November 13, 2012, Manu Zhang <owenzhang1990@gma= il.com> wrote:
> I have a rowcache provieded by SerializingCacheProvider.=A0
> Th= e data that has been read into it is about 500MB, as claimed by jconsole. A= fter saving cache, it is around 15MB on disk. Hence, I suppose the size fro= m jconsole is before serializing.=A0
> Now while restarting Cassandra, it's unable to read saved rowcache= back. By "unable", I mean around 4 hours and I have to abort it = and remove cache so as not to suspend other tasks.=A0
> Since the dat= a aren't huge, why Cassandra can't read it back?
> My Cassandra is 1.2.0-beta2.

--f46d044306b046152f04ce6b8f27--