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

Nikolay Sokolov commented on GRIFFIN-198:
-----------------------------------------

[~guoyp] Aside nulls, I've mentioned second problem in a ticket -- getTables 
call returns only partial result, if it fails. In these cases, result will be 
non-empty and will be cached, while still being incomplete. Variety of 
implementations is possible, from retries in that function to returning 5xx 
errors back to user -- what's your view on it?

> HiveMetaStoreServiceImpl caches incorrect state of metastore
> ------------------------------------------------------------
>
>                 Key: GRIFFIN-198
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-198
>             Project: Griffin (Incubating)
>          Issue Type: Bug
>            Reporter: Nikolay Sokolov
>            Priority: Major
>
> Currently, HiveMetaStoreServiceImpl is caching:
> * nulls and empty lists in some methods, when metastore request failed for 
> some reason
> * empty list of tables as response to getAllTable(String) and getAllTable() 
> calls
> Both problems result in confusing output on large amount of tables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to