You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2016/07/20 18:24:20 UTC
[jira] [Commented] (HDFS-10661) Make MiniDFSCluster AutoCloseable
[ https://issues.apache.org/jira/browse/HDFS-10661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386377#comment-15386377 ]
Akira Ajisaka commented on HDFS-10661:
--------------------------------------
Thanks [~jzhuge] for the information and closing this issue. I'll review HDFS-10287.
> Make MiniDFSCluster AutoCloseable
> ---------------------------------
>
> Key: HDFS-10661
> URL: https://issues.apache.org/jira/browse/HDFS-10661
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: test
> Reporter: Akira Ajisaka
>
> If we make MiniDFSCluster AutoCloseable, we can create MiniDFSCluster instance using try-with-resources statement. That way we don't have to shutdown the cluster in finally clause every time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org