From user-return-18430-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Jul 5 04:26:10 2011 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92F484B2F for ; Tue, 5 Jul 2011 04:26:10 +0000 (UTC) Received: (qmail 30783 invoked by uid 500); 5 Jul 2011 04:26:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30504 invoked by uid 500); 5 Jul 2011 04:25:58 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 30405 invoked by uid 99); 5 Jul 2011 04:25:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 04:25:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.199.18.82] (HELO mail1.impetus.co.in) (203.199.18.82) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 04:25:47 +0000 Received: from MAIL2.impetus.co.in (192.168.100.8) by mail1.impetus.co.in (192.168.100.28) with Microsoft SMTP Server (TLS) id 14.1.289.1; Tue, 5 Jul 2011 09:55:24 +0530 Received: from MBOX.impetus.co.in ([fe80::11b6:68ce:5e04:f41f]) by Mail2.impetus.co.in ([::1]) with mapi id 14.01.0289.001; Tue, 5 Jul 2011 09:55:23 +0530 From: Aayush Jain To: "user@cassandra.apache.org" Subject: connection issue Thread-Topic: connection issue Thread-Index: Acw6ytzAi0bPMn1lQjau8WdlDrwEqA== Date: Tue, 5 Jul 2011 04:25:23 +0000 Message-ID: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.49.52] Content-Type: multipart/alternative; boundary="_000_E68DE66F9F33984CAED030980BFD572E0A3BB0mboximpetuscoin_" MIME-Version: 1.0 --_000_E68DE66F9F33984CAED030980BFD572E0A3BB0mboximpetuscoin_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, When I am using multithreading with Cassandra Query Language ,I have to mak= e connections for each thread. A single connection object for whole of the thread pool is not working. I a= m using JDBC for connectivity. I know ,I may be missing something. Any help/suggestions? ________________________________ Register for Impetus Webinar on 'Leveraging the Cloud for your Product Test= ing Needs' on June 22 (10:00am PT). Meet Impetus as a sponsor for Hadoop Su= mmit 2011 in Santa Clara, CA on June 29. Click http://www.impetus.com to know more. Follow us on www.twitter.com/imp= etuscalling NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impe= tus does not represent, warrant and/or guarantee, that the integrity of thi= s communication has been maintained nor that the communication is free of e= rrors, virus, interception or interference. --_000_E68DE66F9F33984CAED030980BFD572E0A3BB0mboximpetuscoin_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

When I am using multithreading with Cassandra Query = Language ,I have to make connections for each thread.

A single connection object for whole of the thread p= ool is not working. I am using JDBC  for connectivity.

 

I know ,I may be missing something.

 

Any help/suggestions?




Register for Impetus Webinar on ‘Leveraging the Cloud for your Produc= t Testing Needs’ on June 22 (10:00am PT). Meet Impetus as a sponsor f= or Hadoop Summit 2011 in Santa Clara, CA on June 29.

Click http://www.impetus.com to know more. Follow us on www.twitter.com/imp= etuscalling


NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant = and/or guarantee, that the integrity of this communication has been maintai= ned nor that the communication is free of errors, virus, interception or in= terference.
--_000_E68DE66F9F33984CAED030980BFD572E0A3BB0mboximpetuscoin_--