cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Smith (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4150) Allow larger cache capacities than 2GB
Date Tue, 12 Jun 2012 16:18:43 GMT


Shawn Smith commented on CASSANDRA-4150:

It looks like the Maven dependencies in build.xml weren't updated to reference CLHM 1.3:

<dependency groupId="com.googlecode.concurrentlinkedhashmap" artifactId="concurrentlinkedhashmap-lru"

As a result, the [Cassandra Maven Plugin|]
blows up if you try to make it use Cassandra 1.1.1.

[ERROR] 10:59:07,698 Exception encountered during startup
[INFO] java.lang.NoSuchMethodError: com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.maximumWeightedCapacity(J)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
[INFO]     at org.apache.cassandra.cache.ConcurrentLinkedHashCache.create(
[INFO]     at org.apache.cassandra.cache.ConcurrentLinkedHashCache.create(
> Allow larger cache capacities than 2GB
> --------------------------------------
>                 Key: CASSANDRA-4150
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Vijay
>            Assignee: Vijay
>             Fix For: 1.1.1
>         Attachments: 0001-CASSANDRA-4139-v2.patch, 0001-CASSANDRA-4150.patch, 0002-Use-EntryWeigher-for-HeapCache.patch,
0002-add-bytes-written-metric-v2.patch, concurrentlinkedhashmap-lru-1.3.jar
> The problem is that capacity is a Integer which can maximum hold 2 GB,
> I will post a fix to CLHM in the mean time we might want to remove the maximumWeightedCapacity
code path (atleast for Serializing cache) and implement it in our code.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message