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

Zheng Hu commented on HBASE-21927:
----------------------------------

{code}
     Throwable cause = findException(exception);
-    LOG.debug("The actual exception when updating {}", loc, cause);
+    if (LOG.isDebugEnabled()) {
+      LOG.trace("The actual exception when updating {} is {}", loc,
+        cause != null ? cause.toString() : "none");
+    }
{code}

LOG.trace -> LOG.debug ? 

> Always fail the locate request when error occur
> -----------------------------------------------
>
>                 Key: HBASE-21927
>                 URL: https://issues.apache.org/jira/browse/HBASE-21927
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.3.0, 2.1.4
>
>         Attachments: HBASE-21927-UT.patch, HBASE-21927-v1.patch, 
> HBASE-21927.patch
>
>
> Now we only fail the request itself when DoNotRetryIOException, this will 
> break several error injections in our UT. Anyway, we have already retried 
> several times before getting the error, so fail the request itself is 
> acceptable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to