You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2011/04/22 21:48:05 UTC

[jira] [Updated] (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:all-tabpanel ]

Eric Evans updated CASSANDRA-2539:
----------------------------------

    Attachment: v1-0001-CASSANDRA-2539-print-friendlier-message-for-Unavailabl.txt

> 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
>            Priority: Trivial
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-2539-print-friendlier-message-for-Unavailabl.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