Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 53111 invoked from network); 23 Jan 2011 11:11:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jan 2011 11:11:17 -0000 Received: (qmail 28125 invoked by uid 500); 23 Jan 2011 11:11:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 27648 invoked by uid 500); 23 Jan 2011 11:11:10 -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 27634 invoked by uid 99); 23 Jan 2011 11:11:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jan 2011 11:11:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cbertu81@libero.it designates 212.52.84.104 as permitted sender) Received: from [212.52.84.104] (HELO cp-out4.libero.it) (212.52.84.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jan 2011 11:11:00 +0000 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0203.4D3C0CB0.0089,ss=1,re=0.000,fgs=0 X-libjamoibt: 1419 Received: from wmail13 (172.31.0.43) by cp-out4.libero.it (8.5.133) (authenticated as cbertu81@libero.it) id 4D10BF99020FD458 for user@cassandra.apache.org; Sun, 23 Jan 2011 12:10:40 +0100 Message-ID: <32401273.5069971295781040138.JavaMail.root@wmail13> Date: Sun, 23 Jan 2011 12:10:40 +0100 (CET) From: "cbertu81@libero.it" Reply-To: "cbertu81@libero.it" To: user@cassandra.apache.org Subject: Ring up but read fails ... MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 93.35.247.58 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I build a java webapp using Cassandra as DB. At the startup the application creates a cassandra pool using the Pelops client ... it my dev and test environment everything works but in production I have some strange problems. So I built a JSP to check the status of Cassandra DB, doing nothing more than a ... try { // connect to the webapp pool // make some select in quorum mode // print OK } catch (Exception e) { // print KO } well this page "often" returns KO. While in dev/test environment is OK if nodes are up (and KO if some nodes are down), in production it "often" (not always) print KO also if the nodetool ring returns all nodes "UP". Here is and extract of the errors of the webapp ... ERROR UserNameCmd:38 - java.net.SocketException: Broken pipe ERROR UidCmd:61 - java.net.SocketException: Broken pipe org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe ... at org.apache.cassandra.thrift.Cassandra$Client.send_get_slice(Cassandra.java: 386) at org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java: 371) Any idea for "debugging"? :) (5 nodes, replicationfactor=3) Best regards Carlo