[ 
https://issues.apache.org/jira/browse/HADOOP-18065?focusedWorklogId=704413&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-704413
 ]

ASF GitHub Bot logged work on HADOOP-18065:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jan/22 05:24
            Start Date: 06/Jan/22 05:24
    Worklog Time Spent: 10m 
      Work Description: mukund-thakur merged pull request #3860:
URL: https://github.com/apache/hadoop/pull/3860


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 704413)
    Time Spent: 0.5h  (was: 20m)

> 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
>          Time Spent: 0.5h
>  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 [[email protected]]  [~mehakmeetSingh] 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to