You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Andrew Kennedy (JIRA)" <ji...@apache.org> on 2014/06/28 17:47:24 UTC

[jira] [Commented] (BROOKLYN-11) Error on Wide Area Cassandra Cluster on Softlayer example

    [ https://issues.apache.org/jira/browse/BROOKLYN-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046892#comment-14046892 ] 

Andrew Kennedy commented on BROOKLYN-11:
----------------------------------------

Caused by: java.lang.NoSuchMethodError:
org.apache.cassandra.locator.TokenMetadata.invalidateCaches()V

It looks like this is the culprit. It seems that the `invalidateCaches()` method was suddenly removed in version 1.2.13 without ever being deprecated, cassandra-all-1.2.12 is the last version that contains it:

- http://grepcode.com/file/repo1.maven.org/maven2/org.apache.cassandra/cassandra-all/1.2.12/org/apache/cassandra/locator/TokenMetadata.java#TokenMetadata.invalidateCaches%28%29

So, we'll need to take a look at our Cassandra dependencies and fix this.

> Error on Wide Area Cassandra Cluster on Softlayer example
> ---------------------------------------------------------
>
>                 Key: BROOKLYN-11
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-11
>             Project: Brooklyn
>          Issue Type: Bug
>         Environment: Softlayer
>            Reporter: Andrew Kennedy
>            Priority: Critical
>              Labels: Cassandra, Example,, Softlayer
>
> I'm trying to run the WideArea Cassandra cluster, deploying over 2
> different DC on SoftLayer. The machines spun up in SoftLayer, but I got
> this error :
> *Failure running task post-start (IthjWEwo)
> <http://5.153.54.164:8081/#/v1/applications/uoQlEEkk/entities/cnzhYNme/activities/subtask/IthjWEwo>:
> *Software
> process entity CassandraNodeImpl{id=cnzhYNme} did not pass is-running check
> within the required 3m limit (3m 5s elapsed)
> Stack trace from a Cassandra node includes the following:
> Caused by: java.lang.NoSuchMethodError:
> org.apache.cassandra.locator.TokenMetadata.invalidateCaches()V
>         at
> brooklyn.entity.nosql.cassandra.customsnitch.MultiCloudSnitch.reloadConfiguration(MultiCloudSnitch.java:138)
>         at
> brooklyn.entity.nosql.cassandra.customsnitch.MultiCloudSnitch.<init>(MultiCloudSnitch.java:78)



--
This message was sent by Atlassian JIRA
(v6.2#6252)