You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jianwei Cui (JIRA)" <ji...@apache.org> on 2016/04/10 14:38:25 UTC
[jira] [Created] (HBASE-15626)
RetriesExhaustedWithDetailsException#getDesc won't return the full message
Jianwei Cui created HBASE-15626:
-----------------------------------
Summary: 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
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.4#6332)