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 (#2).
Change subject: IMPALA-12758: Event processor is ignoring the prev_id while
reloading existing partitions
......................................................................
IMPALA-12758: Event processor is ignoring the prev_id while reloading
existing partitions
IMPALA-10976 depends on event processor for cache consistency instead
of directly modifying the cache inplace. so when
enable_sync_to_latest_event_on_ddls is enabled, 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 state store to impala demons,
because prev_id is not valid, impalads will not know whether to
invalidate the current partition and then request the new partition
information.
This patch addresses this issue by setting the prev_id of reloaded
partition.
Note: This is only an issue when
enable_sync_to_latest_event_on_ddls is enabled
Testing:
- Added an ened-to-end test to verify the same
Change-Id: Ia7d53f601b63d83e99cbd2d1f58076a0dc78c610
---
M fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java
M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
M tests/custom_cluster/test_events_custom_configs.py
3 files changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/62/21662/2
--
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: 2
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]>