You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mukund Thakur (Jira)" <ji...@apache.org> on 2022/01/06 09:59:00 UTC

[jira] [Resolved] (HADOOP-18065) ExecutorHelper.logThrowableFromAfterExecute() is too noisy.

     [ https://issues.apache.org/jira/browse/HADOOP-18065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mukund Thakur resolved HADOOP-18065.
------------------------------------
    Resolution: Fixed

> ExecutorHelper.logThrowableFromAfterExecute() is too noisy. 
> ------------------------------------------------------------
>
>                 Key: HADOOP-18065
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18065
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.3.1
>            Reporter: Mukund Thakur
>            Assignee: Mukund Thakur
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.3.3
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> if (t == null && r instanceof Future<?> && ((Future<?>) r).isDone()) {
>   try {
>     ((Future<?>) r).get();
>   } catch (ExecutionException ee) {
>     LOG.warn(
>         "Execution exception when running task in " + Thread.currentThread()
>             .getName());
>     t = ee.getCause();
>   } catch (InterruptedException ie) {
>     LOG.warn("Thread (" + Thread.currentThread() + ") interrupted: ", ie);
>     Thread.currentThread().interrupt();
>   } catch (Throwable throwable) {
>     t = throwable;
>   }
> }
> if (t != null) {
>   LOG.warn("Caught exception in thread " + Thread
>       .currentThread().getName() + ": ", t);
> } {code}
> We should downgrade the logging here from warn to debug.
>  
> CC [~stevel@apache.org]  [~mehakmeetSingh] 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org