Hello Quanlong Huang, Csaba Ringhofer, Impala Public Jenkins,

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

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

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

Change subject: IMPALA-12758: Fix catalogd not setting prev_id for reloaded 
partitions
......................................................................

IMPALA-12758: Fix catalogd not setting prev_id for reloaded partitions

Cache modification via partitioned table events should retain the
prev_id of the partitions while reloading the partitions. Currently,
prev_id is set to -1, so when the catalogDelta is sent from the
statestore to impala demons, because prev_id is not valid, coordinators
in local catalog mode will not know whether to invalidate the current
partition.

This patch addresses this issue by setting the prev_id of reloaded
partition.

Note: This is only an issue in local catalog mode for
REFRESH <partition> or updating partitions based on HMS events.

Testing:
- Added an end-to-end test to verify the same

Change-Id: Ia7d53f601b63d83e99cbd2d1f58076a0dc78c610
---
M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
M tests/custom_cluster/test_events_custom_configs.py
M tests/custom_cluster/test_local_catalog.py
3 files changed, 40 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/62/21662/7
--
To view, visit http://gerrit.cloudera.org:8080/21662
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia7d53f601b63d83e99cbd2d1f58076a0dc78c610
Gerrit-Change-Number: 21662
Gerrit-PatchSet: 7
Gerrit-Owner: Sai Hemanth Gantasala <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>

Reply via email to