hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20896) CachedStore fail to cache stats in multiple code paths
Date Sat, 10 Nov 2018 00:31:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-20896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Dai updated HIVE-20896:
------------------------------
    Attachment: HIVE-20896.1.patch

> CachedStore fail to cache stats in multiple code paths
> ------------------------------------------------------
>
>                 Key: HIVE-20896
>                 URL: https://issues.apache.org/jira/browse/HIVE-20896
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Major
>         Attachments: HIVE-20896.0.patch, HIVE-20896.1.patch
>
>
> Bunch of issues discovered in CachedStore to keep up column statistics:
> 1. The criteria for partition/non-partition is wrong (table.isSetPartitionKeys() is
always true)
> 2. In update(), partition column stats are removed when populate table basic stats
> 3. Dirty flags are true right after prewarm(), so the first update() does not do anything
> 4. Could invoke cacheLock without holding the lock, which results a freeze in update()



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

Mime
View raw message