Github user twdsilva commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/133#discussion_r45679482
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java ---
    @@ -66,7 +67,9 @@ public static IOException createIOException(String msg, 
Throwable t) {
             } else if (t instanceof IOException) {
                 // If the IOException does not wrap any exception, then bubble 
it up.
                 Throwable cause = t.getCause();
    -            if (cause == null || cause instanceof IOException) {
    +            if (cause instanceof RetriesExhaustedWithDetailsException)
    --- End diff --
    
    I had to make this change to get TxWriteFailureIT to work correctly. 
    If a write fails it ends up eventually throwing a 
RetriesExhaustedWithDetailsException.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to