Details
-
Improvement
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-11
Description
Once the impala and hive's status is missmatched , and the EventProcessorStatus become NEED_INVALIDATEļ¼ we usually use invalidate metadata to reset the catalog instance. And then impala will update the status to ACTIVE .
But if impala contains many tables , the cost of invalidate is a bit high for a global invalidate. So we may invalidate metadata for tables one by one for these incremental changed table. For example , we have 1000,000,000,000 tables but only some of the table event process occurs CatalogException and MetastoreNotificationNeedsInvalidateException was thrown. I think there is no need to invalidate all table caches in order to reset the catalog instance see here .
MetaStoresProcessor 's async update process will not update the currentStatus when the status is not ACTIVE, see here
So what about add a new SQL grammar : SET EVENT STATUS ${status} ?
Attachments
Issue Links
- is a parent of
-
IMPALA-12506 Add the ability to update EventProcessorStatus through webUi
-
- In Progress
-