You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Russ Hatch (JIRA)" <ji...@apache.org> on 2014/05/12 18:25:24 UTC

[jira] [Updated] (CASSANDRA-6964) error in logs: ByteBuf.release() was not called before it's garbage-collected

     [ https://issues.apache.org/jira/browse/CASSANDRA-6964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russ Hatch updated CASSANDRA-6964:
----------------------------------

    Tester: Russ Hatch

> error in logs: ByteBuf.release() was not called before it's garbage-collected
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6964
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6964
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Russ Hatch
>             Fix For: 2.1 rc1
>
>         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 http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
>      [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/base.py", line 152, in tearDown
>      [java]     raise AssertionError('Unexpected error in %s node log: %s' % (node.name, errors))
>      [java] AssertionError: Unexpected error in node1 node log: ["ERROR [nioEventLoopGroup-3-2] 2014-03-31 17:16:44,337 Slf4JLogger.java:176 - 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 https://github.com/riptano/cassandra-dtest-jython . 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 paging_test.py 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
(v6.2#6252)