You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Sourabh Goyal (Code Review)" <ge...@cloudera.org> on 2021/07/22 17:44:00 UTC

[Impala-ASF-CR] IMPALA-10746: Drop table/db from catalog cache when drop table/db HMS apis are accessed from catalog's metastore server.

Hello Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/17576

to look at the new patch set (#6).

Change subject: IMPALA-10746: Drop table/db from catalog cache when drop table/db HMS apis are accessed from catalog's metastore server.
......................................................................

IMPALA-10746: Drop table/db from catalog cache when drop table/db HMS apis are
accessed from catalog's metastore server.

When perfoming these operations, we acquire lock in MetastoreServiceHandler
to serialize concurrent create/drop operations from catalog HMS endpoints

Testing:
1. Modified existing tests
2. Added new test to access create/drop hms apis in parallel to catch
   any potential deadlocks.

Change-Id: Ic2e2ad2630e2028b8ad26a6272ee766b27e0935c
---
M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java
M fe/src/main/java/org/apache/impala/catalog/metastore/MetastoreServiceHandler.java
A fe/src/test/java/org/apache/impala/catalog/metastore/CatalogHmsParallelCreateDropTest.java
M tests/custom_cluster/test_metastore_service.py
M tests/util/event_processor_utils.py
5 files changed, 370 insertions(+), 50 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/76/17576/6
-- 
To view, visit http://gerrit.cloudera.org:8080/17576
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic2e2ad2630e2028b8ad26a6272ee766b27e0935c
Gerrit-Change-Number: 17576
Gerrit-PatchSet: 6
Gerrit-Owner: Sourabh Goyal <so...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>