hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jianwei Cui (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15626) RetriesExhaustedWithDetailsException#getDesc won't return the full message
Date Sun, 10 Apr 2016 12:38:25 GMT
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:
  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>();

    for(String addr : uniqAddr) {
      addrs.append(addr).append(", ");
    return s;  // ==> should be addrs.toString()
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

View raw message