[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to