You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2015/11/10 15:45:11 UTC

[jira] [Commented] (CASSANDRA-10058) Close Java driver Client object in Hadoop and Pig classes

    [ https://issues.apache.org/jira/browse/CASSANDRA-10058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998678#comment-14998678 ] 

Aleksey Yeschenko commented on CASSANDRA-10058:
-----------------------------------------------

Committed as [177f607057a9d4c4b3746cec51e8e283938a5363|https://github.com/apache/cassandra/commit/177f607057a9d4c4b3746cec51e8e283938a5363] to 2.2 and merged with 3.0, 3.1, and trunk. Made some autocloseable change on commit.

> Close Java driver Client object in Hadoop and Pig classes
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-10058
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10058
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Liu
>            Assignee: Alex Liu
>             Fix For: 2.2.4, 3.1, 3.0.1
>
>         Attachments: CASSANDRA-10058-2.2.txt
>
>
> I found that some Hadoop and Pig code in Cassandra doesn't close the Client object, that's the cause for the following errors in java driver 2.2.0-rc1.
> {code}
> ERROR 11:37:45 LEAK: You are creating too many HashedWheelTimer instances.  HashedWheelTimer is a shared resource that must be reused across the JVM,so that only a few instances are created.
> {code}
> We should close the Client objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)