[
https://issues.apache.org/jira/browse/HDDS-7523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-7523:
-----------------------------------
Summary: Fix warnings in ContainerReportQueue (was: Fix 4 bugs found by
SonaCloud)
> Fix warnings in ContainerReportQueue
> ------------------------------------
>
> Key: HDDS-7523
> URL: https://issues.apache.org/jira/browse/HDDS-7523
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Wei-Chiu Chuang
> Assignee: Neo Chien
> Priority: Major
> Labels: pull-request-available
>
> https://sonarcloud.io/project/issues?resolved=false&sinceLeakPeriod=true&types=BUG&id=hadoop-ozone&open=AYSE8tj3oMFtZ1xV9tyi
> * Use a thread-safe type; adding "volatile" is not enough to make this field
> thread-safe. (OnDemandContainerScanner.java)
> * This method's return value is marked "@NotNull" but null is returned.
> (ContainerReportQueue.java)
> * Rename this method; there is a "private" method in the parent class with
> the same name. (TrashPolicyOzone.java)
> * Either re-interrupt this method or rethrow the "InterruptedException" that
> can be caught here. (NSSummaryTask.java)
> cc: [~targetoee] [~Aaron6112080]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]