[
https://issues.apache.org/jira/browse/GRIFFIN-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624880#comment-16624880
]
William Guo commented on GRIFFIN-198:
-------------------------------------
hi [~chemikadze]
Sorry, I will reopen this ticket.
For this issue,
https://github.com/apache/incubator-griffin/blob/master/service/src/main/java/org/apache/griffin/core/metastore/hive/HiveMetaStoreServiceImpl.java#L119-L123
the bottom line is we cannot return or cache incomplete db->tables map to
users.
I think we need to make it transparent to our users, so let us retry it first,
but we need to ensure it works well with cache.
Thanks,
William
> 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
> Assignee: William Guo
> 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)