From user-return-32357-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Mar 4 15:50:07 2013 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 B5AAE91CC for ; Mon, 4 Mar 2013 15:50:07 +0000 (UTC) Received: (qmail 9833 invoked by uid 500); 4 Mar 2013 15:50:05 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 9626 invoked by uid 500); 4 Mar 2013 15:50:05 -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 9616 invoked by uid 99); 4 Mar 2013 15:50:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 15:50:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a57.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 15:50:00 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 4D2E3208063 for ; Mon, 4 Mar 2013 07:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=egIH0p3z4Qdwoy1i9wRXGuPyvd 4=; b=2t0MJ0VK15UqFETR2/2/kkAALSMJ3CFGmVembCQUTqPD2dPzq8bcqy/bC2 7aIrUH9j61VP3aNrIha2Sn1/eYGkX8nwo4448cnqkf08ZNmacTcATCXz/FKqb4/h t84c9W755sarN/zCcqq0tWEXE6zO0C1ydclIPo2VPJ0dzxa5o= Received: from [192.168.168.119] (c-98-234-52-29.hsd1.ca.comcast.net [98.234.52.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id 26072208060 for ; Mon, 4 Mar 2013 07:49:34 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_435B4FD8-CA5C-4884-8169-C380F5765E84" Message-Id: <3599341C-A64B-4839-8B9C-FF766AB79D36@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Unable to instantiate cache provider org.apache.cassandra.cache.SerializingCacheProvider Date: Mon, 4 Mar 2013 07:49:37 -0800 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_435B4FD8-CA5C-4884-8169-C380F5765E84 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 What version are you using ?=20 As of 1.1 off heap caches no longer require JNA = https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L327 Also the row and key caches are now set globally not per CF = https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L324 Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 1/03/2013, at 1:33 AM, Jason Wee wrote: > This happened sometime ago, but for the sake of helping others if they = encounter,=20 >=20 > each column family has a row cache provider, you can read into the = schema, for example :=20 >=20 > ... > and row_cache_provider =3D 'SerializingCacheProvider' > ... >=20 > it cannot start the cache provider for a reason and as a result, = default to the ConcurrentLinkedHashCacheProvider. >=20 > the serializing cache provider require jna lib, and if you place the = library into cassandra lib directory, then this warning should not = happen again. >=20 --Apple-Mail=_435B4FD8-CA5C-4884-8169-C380F5765E84 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 What = version are you using ? 

As of 1.1 off heap = caches no longer require JNA http= s://github.com/apache/cassandra/blob/trunk/NEWS.txt#L327
Also the row and key caches are now set globally not per = CF http= s://github.com/apache/cassandra/blob/trunk/NEWS.txt#L324
Cheers

http://www.thelastpickle.com

On 1/03/2013, at 1:33 AM, Jason Wee <peichieh@gmail.com> = wrote:

This happened sometime ago, but for the = sake of helping others if they = encounter, 

each column family has a row = cache provider, you can read into the schema, for example = : 

...
and row_cache_provider =3D = 'SerializingCacheProvider'
...

it cannot start the cache provider for a reason and as a = result, default to the ConcurrentLinkedHashCacheProvider.

the serializing cache = provider require jna lib, and if you place the library into cassandra = lib directory, then this warning should not happen = again.


= --Apple-Mail=_435B4FD8-CA5C-4884-8169-C380F5765E84--