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 58AF8D921 for ; Fri, 16 Nov 2012 16:14:17 +0000 (UTC) Received: (qmail 20196 invoked by uid 500); 16 Nov 2012 16:14:17 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 19939 invoked by uid 500); 16 Nov 2012 16:14:15 -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 19136 invoked by uid 99); 16 Nov 2012 16:14:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 16:14:13 +0000 Date: Fri, 16 Nov 2012 16:14:13 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: <173918039.124255.1353082453842.JavaMail.jiratomcat@arcas> In-Reply-To: <388640149.8926.1334907402935.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CASSANDRA-4177) Little improvement on the messages of the exceptions thrown by ExternalClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4177?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams resolved CASSANDRA-4177. ----------------------------------------- Resolution: Won't Fix =20 > Little improvement on the messages of the exceptions thrown by ExternalCl= ient > -------------------------------------------------------------------------= ---- > > Key: CASSANDRA-4177 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4177 > Project: Cassandra > Issue Type: Improvement > Reporter: Micha=C5=82 Michalski > Assignee: Micha=C5=82 Michalski > Priority: Trivial > Attachments: trunk-4177.txt > > > After adding BulkRecordWriter (or actually ExternalClient) the ability to= make use of authentication I've noticed that exceptions that are thrown on= login failure are very misguiding - there's always a "Could not retrieve e= ndpoint ranges" RuntimeException being thrown, no matter what really happen= s. This "hides" the real reason of all authentication problems. I've change= d this line a bit, so all the messages are passed without any change, so no= w I get - for example - "AuthenticationException(why:Given password in pass= word mode MD5 could not be validated for user operator)" or - in worst case= - "Unexpected authentication problem", which is waaay more helpful, so I s= ubmit this trivial, but useful improvement. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira