Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5311

Integration tests leak tables when running on distributed cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • None
    • None

    Description

      When integration test suite is run via End2EndTestDriver on a distributed cluster, most tests do not clean up their tables, leaving thousands of tables on the cluster, and exhausting RegionServer memory.

      There are actually three problems:

      • The BaseTest.freeResourcesIfBeyondThreshold() method is called after most tests, and it restarts the MiniCluster, thus freeing resources, but it has no effect when running on a distributed cluster.
      • The TestDriver sets phoenix.schema.dropMetaData to false by default, so even if the Phoenix tables are dropped, the HBASE tables are not, so the table leak remains. 
      • The phoenix.schema.dropMetaData setting cannot be easily overridden because of PHOENIX-5310

       

      Attachments

        1. PHOENIX-5311.master.v1.patch
          5 kB
          Istvan Toth

        Activity

          People

            stoty Istvan Toth
            stoty Istvan Toth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: