Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4545

TestHLog doesn't clean up after itself

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.0
    • test
    • None
    • Reviewed

    Description

      TestHLog has been hanging during shutdown of the mini cluster after all tests are run. Further investigation shows that there are many places where the TestHLog tests are not cleaning up after themselves.

      Necessary changes are:

      • since all tests use HLog directly, a MiniHBaseCluster is not needed. The test should only launch a MiniDFSCluster
      • several tests do not close the created HLog at completion
      • the test class should shutdown the mini cluster in an @AfterClass method

      Attachments

        1. HBASE-4545.patch
          15 kB
          Gary Helmling

        Activity

          People

            ghelmling Gary Helmling
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: