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 2BAD4DE44 for ; Wed, 14 Nov 2012 02:39:06 +0000 (UTC) Received: (qmail 53736 invoked by uid 500); 14 Nov 2012 02:39:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 53638 invoked by uid 500); 14 Nov 2012 02:39:03 -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 53620 invoked by uid 99); 14 Nov 2012 02:39:03 -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:39:03 +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 (nike.apache.org: domain of edlinuxguru@gmail.com designates 209.85.223.172 as permitted sender) Received: from [209.85.223.172] (HELO mail-ie0-f172.google.com) (209.85.223.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 02:38:54 +0000 Received: by mail-ie0-f172.google.com with SMTP id 9so13039135iec.31 for ; Tue, 13 Nov 2012 18:38:34 -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=dJb2lBpjoZZV/B2LC4wWVnN8Q96K727Ckxi9UEwGegU=; b=BP3f9OEeEXlsJmdpwOaX6sFigCRahrbG+jYO0+9JtKG6zJzSKmfzjIqgAQUUdSNqan 1hZylsUHXMm67jw9bCYxZMLvUW7dPvRqDFQThyAqWD/LTjR8E/TsIh+b56+MHZuKGkG0 9B5sll+Uaw87K+s7YSkLO+GxlKcZtxxZPcjCiBfDjlQMYRuoP+8N3QwVs+XsUsnw48uD 7J2+Wr61sWmu9JdekTyGdkH0jV4kc2ukyPBYaXt8up5p3gggzzzDXmTlfeqpOgCmRn7F hKT2h8Orx9VsTXaMT0MV4C/TTaQFd+RckGTRJSgrTv68F3LVA5Rc31LGghM2zxCVPuzk k8mw== MIME-Version: 1.0 Received: by 10.50.190.161 with SMTP id gr1mr508426igc.14.1352860714060; Tue, 13 Nov 2012 18:38:34 -0800 (PST) Received: by 10.64.97.106 with HTTP; Tue, 13 Nov 2012 18:38:33 -0800 (PST) In-Reply-To: References: Date: Tue, 13 Nov 2012 21:38:33 -0500 Message-ID: Subject: Re: unable to read saved rowcache from disk From: Edward Capriolo To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=f46d0447a2674ac99b04ce6b6e37 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447a2674ac99b04ce6b6e37 Content-Type: text/plain; charset=ISO-8859-1 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. --f46d0447a2674ac99b04ce6b6e37 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes the row cache "could be" incorrect so on startup cassandra ve= rify they saved row cache by re reading. It takes a long time so do not sav= e a big row cache.

On Tuesday, November 13, 2012, Manu Zhang <owenzhang1990@gmail.com> wro= te:
> 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. --f46d0447a2674ac99b04ce6b6e37--