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 3AE10198B8 for ; Tue, 26 Apr 2016 14:57:13 +0000 (UTC) Received: (qmail 910 invoked by uid 500); 26 Apr 2016 14:57:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 798 invoked by uid 500); 26 Apr 2016 14:57: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 767 invoked by uid 99); 26 Apr 2016 14:57:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2016 14:57:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CF0302C1F5C for ; Tue, 26 Apr 2016 14:57:12 +0000 (UTC) Date: Tue, 26 Apr 2016 14:57:12 +0000 (UTC) From: "Yu Li (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15710) Include issue servers information in RetriesExhaustedWithDetailsException 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-15710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yu Li updated HBASE-15710: -------------------------- Status: Patch Available (was: Open) Submit patch for HadoopQA. Please kindly let me know if we don't need the HadoopQA process for patch like this, thanks. > Include issue servers information in RetriesExhaustedWithDetailsException message > --------------------------------------------------------------------------------- > > Key: HBASE-15710 > URL: https://issues.apache.org/jira/browse/HBASE-15710 > Project: HBase > Issue Type: Bug > Reporter: Yu Li > Assignee: Yu Li > Priority: Minor > Attachments: HBASE-15710.patch > > > In current {{RetriesExhaustedWithDetailsException#getDesc}}, we have constructed a StringBuilder to add information of issue servers but returned the wrong string: > {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; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)