Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A05D118A31 for ; Wed, 27 Apr 2016 01:34:13 +0000 (UTC) Received: (qmail 45791 invoked by uid 500); 27 Apr 2016 01:34:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45717 invoked by uid 500); 27 Apr 2016 01:34:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 45676 invoked by uid 99); 27 Apr 2016 01:34:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2016 01:34:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3708C2C1F54 for ; Wed, 27 Apr 2016 01:34:13 +0000 (UTC) Date: Wed, 27 Apr 2016 01:34:13 +0000 (UTC) From: "Jianwei Cui (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15626) RetriesExhaustedWithDetailsException#getDesc won't return the full message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259345#comment-15259345 ] Jianwei Cui commented on HBASE-15626: ------------------------------------- Same problem as [HBASE-15710|https://issues.apache.org/jira/browse/HBASE-15710]. > RetriesExhaustedWithDetailsException#getDesc won't return the full message > -------------------------------------------------------------------------- > > Key: HBASE-15626 > URL: https://issues.apache.org/jira/browse/HBASE-15626 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 2.0.0 > Reporter: Jianwei Cui > Priority: Minor > Attachments: HBASE-15626-v1.patch > > > The RetriesExhaustedWithDetailsException#getDesc will include server addresses as: > {code} > public static String getDesc(List exceptions, > List actions, > List hostnamePort) { > String s = getDesc(classifyExs(exceptions)); > StringBuilder addrs = new StringBuilder(s); > addrs.append("servers with issues: "); > Set uniqAddr = new HashSet(); > uniqAddr.addAll(hostnamePort); > for(String addr : uniqAddr) { > addrs.append(addr).append(", "); > } > return s; // ==> should be addrs.toString() > } > {code} > However, the returned value is {{s}}, only includes the exceptions. To include the server addresses, the returned value should be {{addrs.toString()}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)