[ 
https://issues.apache.org/jira/browse/HDFS-10661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Zhuge resolved HDFS-10661.
-------------------------------
    Resolution: Duplicate

[~ajisakaa] Looks like a dup of HDFS-10287. Please re-open if you think 
otherwise.

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

Reply via email to