Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 23424 invoked from network); 24 Aug 2010 05:22:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 05:22:40 -0000 Received: (qmail 57433 invoked by uid 500); 24 Aug 2010 05:22:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 57382 invoked by uid 500); 24 Aug 2010 05:22:38 -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 57374 invoked by uid 99); 24 Aug 2010 05:22:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 05:22:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 05:22:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7O5MG2I016337 for ; Tue, 24 Aug 2010 05:22:16 GMT Message-ID: <26727233.524951282627336219.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 01:22:16 -0400 (EDT) From: "Erik Onnen (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1424) Allow fine-tuning of Thrift TCP behavior for Thrift-managed sockets In-Reply-To: <2641828.524931282627215900.JavaMail.jira@thor> 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-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Onnen updated CASSANDRA-1424: ---------------------------------- Attachment: CAS-1424.patch > Allow fine-tuning of Thrift TCP behavior for Thrift-managed sockets > ------------------------------------------------------------------- > > Key: CASSANDRA-1424 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1424 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 0.7 beta 1, 0.7 beta 2, 0.7.0 > Reporter: Erik Onnen > Priority: Minor > Fix For: 0.7.0 > > Attachments: CAS-1424.patch > > > Would be nice to be able to control low-level TCP socket behaviors for the Thrift-managed sockets used by o.a.c.thrift.CassandraDaemon. > Blatantly stole the idea from here: http://mail-archives.apache.org/mod_mbox/hadoop-hive-commits/201006.mbox/%3C20100616044535.E781723889CB@eris.apache.org%3E > Patch attached, implemented to retain default behavior with current system but allows definition of the following in cassandra.yaml: > * rpc_keepalive (default:false) > * rpc_reuse_addrs (default:false) > * rpc_send_buff_size_in_bytes (default:undefined) > * rpc_recv_buff_size_in_bytes (default:undefined) > Wasn't sure how/if to write a unit test so could use some advice there. > Verified that configs are picked up correctly and the socket accepts them on Linux 2.6 kernel. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.