You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "YiSheng Lien (Jira)" <ji...@apache.org> on 2019/12/15 12:11:00 UTC
[jira] [Updated] (HDDS-2723) Wrap InputStream with
try-with-resource in TestOzoneFSInputStream
[ https://issues.apache.org/jira/browse/HDDS-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YiSheng Lien updated HDDS-2723:
-------------------------------
Summary: Wrap InputStream with try-with-resource in TestOzoneFSInputStream (was: Wrap InputStream with try-block in TestOzoneFSInputStream)
> Wrap InputStream with try-with-resource in TestOzoneFSInputStream
> -----------------------------------------------------------------
>
> Key: HDDS-2723
> URL: https://issues.apache.org/jira/browse/HDDS-2723
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Filesystem
> Reporter: YiSheng Lien
> Assignee: YiSheng Lien
> Priority: Major
>
> Thanks [~weichiu] for the proposal.
> To ensure resource is closed properly, we could wrap the fs.open() in a try.
> The detail is on https://github.com/apache/hadoop-ozone/pull/345/files#r357315867
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org