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


Change subject: IMPALA-12637: Processing CREATE_TABLE event for an unloaded db 
shouldn't put EP into error state
......................................................................

IMPALA-12637: Processing CREATE_TABLE event for an unloaded db
shouldn't put EP into error state

Applying a CREATE_TABLE event could fail by DatabaseNotFoundException
is the db is unloaded. This issue can be reproduced by putting the EP
in paused state in the unit test while processing CREATE_DATABASE event
and switch it back to active while processing CREATE_TABLE event.

IMPALA-11735 addresses this issue by catching the DatabaseNotFound
exception in the event processor and ignore the event.

Note: requires IMPALA-11735 as prerequisite

Testing:
- Verify manually on a cluster.
- Ended unit tests for the same.

Change-Id: I7d2f92a8d8c464cac64c7e132e276ba17105b3ea
---
M 
fe/src/test/java/org/apache/impala/catalog/events/MetastoreEventsProcessorTest.java
1 file changed, 25 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d2f92a8d8c464cac64c7e132e276ba17105b3ea
Gerrit-Change-Number: 21428
Gerrit-PatchSet: 1
Gerrit-Owner: Sai Hemanth Gantasala <saihema...@cloudera.com>

Reply via email to