Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cassandra MultiCloudSnitch incompatible with cassandra > 1.1 #1372

Open
pdehlke opened this issue May 7, 2014 · 1 comment
Open

cassandra MultiCloudSnitch incompatible with cassandra > 1.1 #1372

pdehlke opened this issue May 7, 2014 · 1 comment

Comments

@pdehlke
Copy link

pdehlke commented May 7, 2014

ERROR [main] 2014-05-07 18:20:27,327 DatabaseDescriptor.java (line 528) Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Error instantiating snitch class 'brooklyn.entity.nosql.cassandra.customsnitch.MultiCloudSnitch'.
at org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:465)
at org.apache.cassandra.config.DatabaseDescriptor.createEndpointSnitch(DatabaseDescriptor.java:544)
at org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:361)
at org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:132)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:447)
... 6 more
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.(MultiCloudSnitch.java:78)
... 11 more

TokenMetadata.invalidateCaches() disappeared as of cassandra 1.2; brooklyn is currently installing 1.2.5, and it'd be nice to be able to use this snitch with 2.x :)

@chechuironman
Copy link

Im getting the same error...any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants