Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8453310440 for ; Tue, 1 Apr 2014 08:18:24 +0000 (UTC) Received: (qmail 41773 invoked by uid 500); 1 Apr 2014 08:18:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 40987 invoked by uid 500); 1 Apr 2014 08:18:17 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 40817 invoked by uid 99); 1 Apr 2014 08:18:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 08:18:17 +0000 Date: Tue, 1 Apr 2014 08:18:17 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6964) error in logs: ByteBuf.release() was not called before it's garbage-collected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956224#comment-13956224 ] Benedict commented on CASSANDRA-6964: ------------------------------------- Right, I'm suggesting suppressing the errors in the application (assuming they don't turn out to actually be a bug) so that they don't leak to the user. Either way, hopefully will be resolved soon. > 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 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 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)