You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/04/29 03:41:04 UTC
[jira] [Resolved] (HBASE-15626)
RetriesExhaustedWithDetailsException#getDesc won't return the full message
[ https://issues.apache.org/jira/browse/HBASE-15626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved HBASE-15626.
------------------------------------
Resolution: Duplicate
.
> 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<Throwable> exceptions,
> List<? extends Row> actions,
> List<String> hostnamePort) {
> String s = getDesc(classifyExs(exceptions));
> StringBuilder addrs = new StringBuilder(s);
> addrs.append("servers with issues: ");
> Set<String> uniqAddr = new HashSet<String>();
> 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.15#6346)