Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.0
-
None
-
Reviewed
Description
MiniDFSCluster should implement AutoCloseable in order to support try-with-resources. It will make test code a little cleaner and more reliable.
Since AutoCloseable is only in Java 1.7 or later, this can not be backported to Hadoop version prior to 2.7.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-10661 Make MiniDFSCluster AutoCloseable
- Resolved
- relates to
-
YARN-4959 MiniYARNCluster should implement AutoCloseable
- Resolved