Sai Hemanth Gantasala has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20117


Change subject: IMPALA-12213: Verify if the table exists in the event processor 
for reload event
......................................................................

IMPALA-12213: Verify if the table exists in the
event processor for reload event

When a reload event is being processed in the event processor, it is
ideal to verify if the table exists before checking if the event is
older. In the production use case, it is very likely that create and
reload events for a same table comes in the same batch of events and
this might lead to null pointer exception while processing reload event
since the table does not exist in the cache.

Testing: Added an end-to-end test case to simulate the above scenario
and verify that event processor is in active state at the end of the
test.

Change-Id: I6bf7f596154e3695b7eea723d8cd3b0f7bda83cb
---
M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java
M tests/custom_cluster/test_events_custom_configs.py
2 files changed, 15 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/17/20117/1
--
To view, visit http://gerrit.cloudera.org:8080/20117
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6bf7f596154e3695b7eea723d8cd3b0f7bda83cb
Gerrit-Change-Number: 20117
Gerrit-PatchSet: 1
Gerrit-Owner: Sai Hemanth Gantasala <[email protected]>

Reply via email to