You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Peter Williams (JIRA)" <ji...@apache.org> on 2014/06/27 01:44:26 UTC
[jira] [Updated] (CASSANDRA-7459) CqlRecordWriter doesn't close
socket connections
[ https://issues.apache.org/jira/browse/CASSANDRA-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Williams updated CASSANDRA-7459:
--------------------------------------
Attachment: cassandra-2.0-7459.txt
make sure `CqlRecordWriter$RangeClient` closes its internal socket connection when it is closed.
> CqlRecordWriter doesn't close socket connections
> ------------------------------------------------
>
> Key: CASSANDRA-7459
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7459
> Project: Cassandra
> Issue Type: Bug
> Reporter: Peter Williams
> Fix For: 2.0.9
>
> Attachments: cassandra-2.0-7459.txt
>
>
> Using spark with `CqlOutputFormat` results in thousands of open connections to cassandra (and then crashes unless they get garbage collected fast enough). This is because each save to cassandra task creates a `CqlRecordWriter` which opens a bunch of connections but calling close on those writers does not actually close their socket connections to cassandra.
--
This message was sent by Atlassian JIRA
(v6.2#6252)