Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10661

Make MiniDFSCluster AutoCloseable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • test
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: