You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Xiaoyu Yao (Jira)" <ji...@apache.org> on 2019/12/16 18:00:00 UTC
[jira] [Resolved] (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 ]
Xiaoyu Yao resolved HDDS-2723.
------------------------------
Fix Version/s: 0.5.0
Resolution: Fixed
Thanks [~cxorm] for the contribution and all for the reviews. The change has been merged to master.
> 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
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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