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 705DA9730 for ; Fri, 27 Jan 2012 21:50:33 +0000 (UTC) Received: (qmail 40384 invoked by uid 500); 27 Jan 2012 21:50:33 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 40332 invoked by uid 500); 27 Jan 2012 21:50:32 -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 40324 invoked by uid 99); 27 Jan 2012 21:50:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 21:50:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 21:50:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E91AC135D42 for ; Fri, 27 Jan 2012 21:50:08 +0000 (UTC) Date: Fri, 27 Jan 2012 21:50:08 +0000 (UTC) From: "Joaquin Casares (Created) (JIRA)" To: commits@cassandra.apache.org Message-ID: <590363679.1919.1327701008957.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CASSANDRA-3802) Cli returns UE on truncate when command is successful MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Cli returns UE on truncate when command is successful ----------------------------------------------------- Key: CASSANDRA-3802 URL: https://issues.apache.org/jira/browse/CASSANDRA-3802 Project: Cassandra Issue Type: Bug Reporter: Joaquin Casares Much like: https://issues.apache.org/jira/browse/CASSANDRA-3651 The UE is returned instead of a timeout error, but in this case, the timeout error is returned even though the command executes successfully. Could we have a tunable parameter to increase the timeout period? Example stacktrace: {noformat} [default@cfs] truncate cleanup; null UnavailableException() at org.apache.cassandra.thrift.Cassandra$truncate_result.read(Cassandra.java:20210) at org.apache.cassandra.thrift.Cassandra$Client.recv_truncate(Cassandra.java:1077) at org.apache.cassandra.thrift.Cassandra$Client.truncate(Cassandra.java:1052) at org.apache.cassandra.cli.CliClient.executeTruncate(CliClient.java:1498) at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:270) at org.apache.cassandra.cli.CliMain.processStatementInteractive(CliMain.java:220) at org.apache.cassandra.cli.CliMain.main(CliMain.java:346) {noformat} JNA confirmed on all machines via jinfo. Flush and snapshot confirmed to be successful individually. A truncate was tried again and the view from cfstats changed: {noformat} Column Family: sblocks SSTable count: 3 Space used (live): 22200 Space used (total): 22200 Number of Keys (estimate): 384 Memtable Columns Count: 0 Memtable Data Size: 0 Memtable Switch Count: 0 Read Count: 0 Read Latency: NaN ms. Write Count: 0 Write Latency: NaN ms. Pending Tasks: 0 Bloom Filter False Postives: 0 Bloom Filter False Ratio: 0.00000 Bloom Filter Space Used: 56 Key cache capacity: 1000000 Key cache size: 0 Key cache hit rate: NaN Row cache: disabled Compacted row minimum size: 73 Compacted row maximum size: 4768 Compacted row mean size: 1379 to Column Family: sblocks SSTable count: 0 Space used (live): 0 Space used (total): 0 Number of Keys (estimate): 0 Memtable Columns Count: 0 Memtable Data Size: 0 Memtable Switch Count: 0 Read Count: 0 Read Latency: NaN ms. Write Count: 0 Write Latency: NaN ms. Pending Tasks: 0 Bloom Filter False Postives: 0 Bloom Filter False Ratio: 0.00000 Bloom Filter Space Used: 0 Key cache capacity: 1000000 Key cache size: 0 Key cache hit rate: NaN Row cache: disabled Compacted row minimum size: 0 Compacted row maximum size: 0 Compacted row mean size: 0 {noformat} even though the UE was still thrown (as a possible TE). After trying to truncate different cfs back-to-back, one completed successfully and the rest all followed with successful completions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira