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

[jira] [Created] (CASSANDRA-7228) Closing CqlRecordReader doesn't release all resources

Mariusz Kryński created CASSANDRA-7228:
------------------------------------------

             Summary: Closing CqlRecordReader doesn't release all resources
                 Key: CASSANDRA-7228
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7228
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
            Reporter: Mariusz Kryński
             Fix For: 2.0.8
         Attachments: cluster_close.diff

Closing CqlRecordReader doesn't release all resources - only session object is closed, cluster remains open. It may result in "too many open files" error, caused by still open cassandra connections (I had this error while working on my own InputFormat for cassandra  - https://bitbucket.org/mrk/cassandra_hadoop_utils/). Attached patch fixes this issue for me.



--
This message was sent by Atlassian JIRA
(v6.2#6252)