You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/15 09:27:00 UTC
[jira] [Updated] (PHOENIX-5311) Integration tests leak tables when
running on distributed cluster
[ https://issues.apache.org/jira/browse/PHOENIX-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated PHOENIX-5311:
---------------------------------
Fix Version/s: 5.1.0
> Integration tests leak tables when running on distributed cluster
> -----------------------------------------------------------------
>
> Key: PHOENIX-5311
> URL: https://issues.apache.org/jira/browse/PHOENIX-5311
> Project: Phoenix
> Issue Type: Bug
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-5311.master.v1.patch
>
>
> 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
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)