Quanlong Huang created IMPALA-11735:
---------------------------------------

             Summary: Handle CREATE_TABLE event when the db is invisible to the 
impala server user
                 Key: IMPALA-11735
                 URL: https://issues.apache.org/jira/browse/IMPALA-11735
             Project: IMPALA
          Issue Type: Bug
            Reporter: Quanlong Huang


It's possible that some dbs are invisible to Impala cluster due to 
authorization restrictions. However, the CREATE_TABLE events in such dbs will 
lead the event-processor into ERROR state:
{noformat}
E1026 03:02:30.650302 116774 MetastoreEventsProcessor.java:684] Unexpected 
exception received while processing event
Java exception follows:
org.apache.impala.catalog.events.MetastoreNotificationException: EventId: 
184240416 EventType: CREATE_TABLE Unable to process event
        at 
org.apache.impala.catalog.events.MetastoreEvents$CreateTableEvent.process(MetastoreEvents.java:735)
        at 
org.apache.impala.catalog.events.MetastoreEvents$MetastoreEvent.processIfEnabled(MetastoreEvents.java:345)
        at 
org.apache.impala.catalog.events.MetastoreEventsProcessor.processEvents(MetastoreEventsProcessor.java:772)
        at 
org.apache.impala.catalog.events.MetastoreEventsProcessor.processEvents(MetastoreEventsProcessor.java:670)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
E1026 03:02:30.650447 116774 MetastoreEventsProcessor.java:795] Notification 
event is null
{noformat}
It should be handled (e.g. ignored) and reported to the admin (e.g. in logs).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to