[ 
https://issues.apache.org/jira/browse/IMPALA-10648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491271#comment-17491271
 ] 

ASF subversion and git services commented on IMPALA-10648:
----------------------------------------------------------

Commit b02dba74d8f072c206c3da2eca1b492c7b44a839 in impala's branch 
refs/heads/master from Sourabh Goyal
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=b02dba7 ]

IMPALA-10648 addendum: Handle null return value from catalog's
renameTable() api

CatalogServiceCatalog.renameTable(oldTable, newTable) api
sometimes return null if oldTable's db does not exist
in cache. The caller of this api should check for null
return value.

Change-Id: Ia3661b351cad16ead22608dcef33789f0ba2fb6f
Reviewed-on: http://gerrit.cloudera.org:8080/18221
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Invalidate catalogd cache for non transactional tables when create/alter/drop 
> HMS apis are accessed
> ---------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-10648
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10648
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Catalog
>            Reporter: Sourabh Goyal
>            Assignee: Sourabh Goyal
>            Priority: Major
>             Fix For: Impala 4.1.0
>
>
> IMPALA-10613 introduced changes to expose table/partition metadata stored in 
> catalog cache over HMS APIs. 
> In this task, we invalidate the non transactional table from cache if HMS DDL 
> apis like create/alter/drop table/partition are accessed from catalogd's 
> metastore server. Any subsequent get table request fetches the table from HMS 
> and also loads it in cache. This ensures that any get_table/get_partition 
> requests after ddl operations on the same table return the most updated table
> cc - [~vihangk1]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to