You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cathy Daw (JIRA)" <ji...@apache.org> on 2011/04/27 00:11:04 UTC
[jira] [Issue Comment Edited] (CASSANDRA-2539) CQL: cqlsh does
shows Exception, but not error message when running truncate while a node
is down.
[ https://issues.apache.org/jira/browse/CASSANDRA-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025470#comment-13025470 ]
Cathy Daw edited comment on CASSANDRA-2539 at 4/26/11 10:10 PM:
----------------------------------------------------------------
Re-tested in current build. cqlsh now returns the message:
Unable to complete request: one or more nodes were unavailable.
was (Author: cdaw):
Patch tested. cqlsh now returns the message:
Unable to complete request: one or more nodes were unavailable.
> CQL: cqlsh does shows Exception, but not error message when running truncate while a node is down.
> ---------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2539
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2539
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Cathy Daw
> Assignee: Eric Evans
> Priority: Trivial
> Labels: cql
> Fix For: 0.8.0
>
> Attachments: 2539-v3.txt, v2-0001-CASSANDRA-2539-print-friendlier-message-for-Unavailabl.txt
>
>
> This is really just a usability bug, but it would nice to bubble the error message that is printed in the log file up to the interface.
> *cqlsh output*
> {noformat}
> cqlsh> truncate users;
> Exception: UnavailableException()
> {noformat}
> *log file error*
> {noformat}
> INFO [pool-2-thread-5] 2011-04-21 23:53:30,466 StorageProxy.java (line 1021) Cannot perform truncate, some hosts are down
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira