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

Attila Doroszlai reassigned HDDS-4526:
--------------------------------------

    Assignee: Marton Elek

> Remove false-positive error logs from LeaseManager
> --------------------------------------------------
>
>                 Key: HDDS-4526
>                 URL: https://issues.apache.org/jira/browse/HDDS-4526
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Trivial
>              Labels: pull-request-available
>
> There is an error log which can be seen frequently in the log:
> {code}
> 2020-11-30 15:35:58,539 [CommandWatcher-LeaseManager#LeaseMonitor] ERROR 
> lease.LeaseManager (LeaseManager.java:run(238)) - Execution was interrupted 
> java.lang.InterruptedException: sleep interrupted
>       at java.lang.Thread.sleep(Native Method)
>       at 
> org.apache.hadoop.ozone.lease.LeaseManager$LeaseMonitor.run(LeaseManager.java:234)
>       at java.lang.Thread.run(Thread.java:748)
> {code}
> This log is introduced by HDDS-2561 to make Sonar happy, but it was not 
> required as LeaseManager use the thread interrupt intentionally.
> For a proper fix we can keep the logging on WARN level AND replace thread 
> interrupts with thread notify/wait.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to