[ 
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 [~ste...@apache.org]  [~mehakmeetSingh] 



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

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

Reply via email to