hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-10661) Make MiniDFSCluster AutoCloseable
Date Wed, 20 Jul 2016 18:22:20 GMT

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


Mime
View raw message