cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6964) error in logs: ByteBuf.release() was not called before it's garbage-collected
Date Tue, 01 Apr 2014 08:16:17 GMT


Sylvain Lebresne commented on CASSANDRA-6964:

Hum, even if those are not a problem (haven't checked really, though I'm slightly surprised
that Netty would show such error message for no good reason), they will show up for people
and freak them out. So let's keep that open as a reminder that this *needs* to be dealt with
Cassandra side before the final 2.1 release.

> error in logs: ByteBuf.release() was not called before it's garbage-collected
> -----------------------------------------------------------------------------
>                 Key: CASSANDRA-6964
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Russ Hatch
>             Fix For: 2.1 beta3
>         Attachments: node1.log
> Running some of our paging tests against 2.1 several of these exceptions are triggered:
> {noformat}
> run_tests:
>      [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>      [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
>      [java] SLF4J: See for further
>      [java] test_zero_page_size_ignored (__main__.TestPagingSize) ... ERROR
>      [java] 
>      [java] ======================================================================
>      [java] ERROR: test_zero_page_size_ignored (__main__.TestPagingSize)
>      [java] ----------------------------------------------------------------------
>      [java] Traceback (most recent call last):
>      [java]   File "/home/rhatch/git/knifewine/cassandra-dtest-jython/", line
152, in tearDown
>      [java]     raise AssertionError('Unexpected error in %s node log: %s' % (,
>      [java] AssertionError: Unexpected error in node1 node log: ["ERROR [nioEventLoopGroup-3-2]
2014-03-31 17:16:44,337 - LEAK: ByteBuf.release() was not called before
it's garbage-collected. Enable advanced leak reporting to find out where the leak occurred.
To enable advanced leak reporting, specify the JVM option '-Dio.netty.leakDetectionLevel=advanced'
or call ResourceLeakDetector.setLevel()\n"]
>      [java] 
>      [java] ----------------------------------------------------------------------
>      [java] Ran 1 test in 37.876s
>      [java] 
>      [java] FAILED (errors=1)
> {noformat}
> These tests are run through jython with the java driver, so there's a little bit of setup
needed (if you have ccm and dtest you are most of the way there):
> 1. clone and set up . You may need
to install ivy and copy ivy.jar to ~/.ant/lib/ivy.jar
> 2. you should have ccm, and CASSANDRA_DIR should be set in your environment
> 3. from the root of cassandra-dtest-jython run the tests with 'ant run_tests'. The tests
take about 10 minutes run completely.
> 4. if you don't want to wait for the entire test suite to run, change the bottom of
to just run a single test like so:
> {noformat}
> if __name__ == '__main__':
>     suite = unittest.TestSuite()
>     suite.addTest(TestPagingSize("test_zero_page_size_ignored"))
>     unittest.TextTestRunner(verbosity=2).run(suite)
>     exit(0)
> {noformat}

This message was sent by Atlassian JIRA

View raw message