hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15710) Include issue servers information in RetriesExhaustedWithDetailsException message
Date Tue, 26 Apr 2016 22:27:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259075#comment-15259075
] 

Hudson commented on HBASE-15710:
--------------------------------

FAILURE: Integrated in HBase-1.4 #116 (See [https://builds.apache.org/job/HBase-1.4/116/])
HBASE-15710 Include issue servers information in (stack: rev 9f222d59e1fb025fb5f4b86f26fca6dade6a982b)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.java


> 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
>             Fix For: 2.0.0, 1.3.0, 1.4.0
>
>         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<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;
>   }
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message