Akira Ajisaka created HDFS-10661: ------------------------------------ Summary: 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