[ 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<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)