From user-return-32416-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Mar 5 16:06:52 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 AD0FED43C for ; Tue, 5 Mar 2013 16:06:52 +0000 (UTC) Received: (qmail 17383 invoked by uid 500); 5 Mar 2013 16:06:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17322 invoked by uid 500); 5 Mar 2013 16:06:49 -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 17305 invoked by uid 99); 5 Mar 2013 16:06:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 16:06:49 +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; Tue, 05 Mar 2013 16:06:44 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id AC65A208070 for ; Tue, 5 Mar 2013 08:06:18 -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=eKjdXo3bWw5DioVgdePgtL+TPQ Y=; b=kfnyByX3iEIhD2MZEtq1qyKr+HTAA6xgkh3mJa7PHdKM3e6WAsuHwEgp2P iD4w0oFAxBsPI6Z+a46jepVlpeE6jycuwoIFiEPYjS7x0DsHslex7GOBMh1VUZlQ TZo7+3Jk2yiRz8YMv5c19z9js+RS0n1pnrspt0cUXmWQ5+wHI= 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 885E3208063 for ; Tue, 5 Mar 2013 08:06:18 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_2269A8C9-CF68-4DE8-ADD2-1AED2A208757" Message-Id: <2D692FB7-F1F3-4D6C-BA4F-98A4A230770D@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: Tue, 5 Mar 2013 08:06:22 -0800 References: <3599341C-A64B-4839-8B9C-FF766AB79D36@thelastpickle.com> 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=_2269A8C9-CF68-4DE8-ADD2-1AED2A208757 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Details are here https://issues.apache.org/jira/browse/CASSANDRA-3271 Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 4/03/2013, at 8:04 AM, Jason Wee wrote: > version 1.0.8 >=20 > Just curious, what is the mechanism for off heap in 1.1? >=20 > Thank you. >=20 > /Jason >=20 >=20 > On Mon, Mar 4, 2013 at 11:49 PM, aaron morton = wrote: > What version are you using ?=20 >=20 > As of 1.1 off heap caches no longer require JNA = https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L327 >=20 > Also the row and key caches are now set globally not per CF = https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L324 >=20 > Cheers >=20 > ----------------- > Aaron Morton > Freelance Cassandra Developer > New Zealand >=20 > @aaronmorton > http://www.thelastpickle.com >=20 > On 1/03/2013, at 1:33 AM, Jason Wee wrote: >=20 >> 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 >=20 >=20 --Apple-Mail=_2269A8C9-CF68-4DE8-ADD2-1AED2A208757 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 https://issu= es.apache.org/jira/browse/CASSANDRA-3271

Cheers

http://www.thelastpickle.com

On 4/03/2013, at 8:04 AM, Jason Wee <peichieh@gmail.com> = wrote:

version 1.0.8

Just curious, what is the mechanism for off heap in = 1.1?

Thank you.

/Jason


On Mon, Mar 4, 2013 at 11:49 PM, = aaron morton <aaron@thelastpickle.com> = wrote:
What version are you using = ? 

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

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=_2269A8C9-CF68-4DE8-ADD2-1AED2A208757--