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 B2A4F118AC for ; Thu, 26 Jun 2014 23:46:27 +0000 (UTC) Received: (qmail 72501 invoked by uid 500); 26 Jun 2014 23:46:27 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 72470 invoked by uid 500); 26 Jun 2014 23:46:27 -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 72337 invoked by uid 99); 26 Jun 2014 23:46:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 23:46:27 +0000 Date: Thu, 26 Jun 2014 23:46:27 +0000 (UTC) From: "Peter Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (CASSANDRA-7459) CqlRecordWriter doesn't close socket connections 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-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Williams updated CASSANDRA-7459: -------------------------------------- Comment: was deleted (was: Close socket connections when CqlRecordWriter$RangeClient thread stops.) > 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)