You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2020/12/11 13:14:00 UTC
[jira] [Resolved] (HDDS-4526) Remove false-positive error logs from
LeaseManager
[ https://issues.apache.org/jira/browse/HDDS-4526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved HDDS-4526.
------------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
> 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
> Fix For: 1.1.0
>
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org