You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Dinesh Chitlangia (Jira)" <ji...@apache.org> on 2019/11/20 04:49:00 UTC
[jira] [Created] (HDDS-2580) Sonar: Close resources in
xxxKeyHandler
Dinesh Chitlangia created HDDS-2580:
---------------------------------------
Summary: Sonar: Close resources in xxxKeyHandler
Key: HDDS-2580
URL: https://issues.apache.org/jira/browse/HDDS-2580
Project: Hadoop Distributed Data Store
Issue Type: Bug
Reporter: Dinesh Chitlangia
Use try-with-resources or close this "FileOutputStream" in a "finally" clause.
GetKeyHandler: [https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW6HHKTfdBVcJdcVFsvC&open=AW6HHKTfdBVcJdcVFsvC]
Use try-with-resources or close this "OzoneOutputStream" in a "finally" clause.
PutKeyHandler: [https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW6HHKRodBVcJdcVFsvB&open=AW6HHKRodBVcJdcVFsvB]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org