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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to