hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-15626) RetriesExhaustedWithDetailsException#getDesc won't return the full message
Date Sat, 29 Apr 2017 03:41:04 GMT

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

Mime
View raw message