Hello Quanlong Huang, Tim Armstrong, Impala Public Jenkins,

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

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

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

Change subject: IMPALA-8984: Fix race condition in creating Kudu table
......................................................................

IMPALA-8984: Fix race condition in creating Kudu table

This patch fixed the race condition when use 'CREATE IF NOT EXISTS' to
create kudu managed table without Kudu-HMS Integration. This bug would
caused table deleted in Kudu storage, but reserved in HMS when multiple
identical queries submitted at the same time.

Fix is to check whether table already exists in HMS after obtain the
'metastoreDdlLock_' lock. If true, just return 'Table already exists'
tip, otherwise create a new table in HMS and then update catalog.

Tests:
  * Add fe test MultiKuduDDLTest.java
  * Ran all front-end tests

Change-Id: I1a4047bcdaa6b346765b96e8c36bb747a2b0091d
---
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
A fe/src/test/java/org/apache/impala/service/MultiKuduDDLTest.java
M fe/src/test/java/org/apache/impala/testutil/ImpaladTestCatalog.java
3 files changed, 200 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/19/14319/12
--
To view, visit http://gerrit.cloudera.org:8080/14319
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1a4047bcdaa6b346765b96e8c36bb747a2b0091d
Gerrit-Change-Number: 14319
Gerrit-PatchSet: 12
Gerrit-Owner: wangsheng <sky...@163.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Reviewer: wangsheng <sky...@163.com>

Reply via email to