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 load time is minimum 10 seconds long #85
Comments
hum it's weird. Do you have some logs? |
Will look at the logs tomorrow. What's the usual cold start up time for 2014-04-02 20:31 GMT+02:00 Jérémy Sevellec notifications@github.com:
|
Where can I find the log which is generated by cassandra? Is there just the console logging? I get the following two errors there but not more detailed logging: [error] o.a.c.c.QueryProcessor - Unable to initialize MemoryMeter (jamm not specified as javaagent). This means Cassandra will be unable to measure object sizes accurately and may consequently OOM. |
the first error about MemoryMeter is the one which consume time. I have to check how i can fix that |
Not sure if that is really the issue. I just set up a blank project with 2.0.2.1 as a dependency and run a simple test:
which gives this LOG:
|
Just for anyone to know, the following error is because cassandra relies on guava 15, and google decided to change the API of their java.lang.NoSuchMethodError: com.google.common.util.concurrent.RateLimiter.acquire(I)V Actually we experienced OOMs in our tests |
@bric3 This is fixed in the latest snapshot. The catch was to upgrade Cassandra to 2.1.X in Cassandra Unit so that guava 16+ could be used. |
@BluePyth Yes I know ;) However I'd rather not switch to cassandra 2.1 until production does ;) |
This might not be really an issue but I do not understand it. When I run cassandra from the commandline I can boot it up in about 2-3 seconds but when running the
code it takes a minimum of 10 seconds. This is not related to the 10s CountdownLatch which works fine. Any idea why this is the case?
The text was updated successfully, but these errors were encountered: